html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #0e0e0e;
}

@font-face {
    font-family: 'Mistrully';
    src: url('typo/Mistrully.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.bl {
    --mok-scale: clamp(
        0.42,
        min(
            calc((100vw - 24px) / 1920px),
            calc((100svh - 110px) / 1080px)
        ),
        1
    );
    overflow-x: hidden;
    background: #f0ede8;
    color: #0e0e0e;
    font-family: 'Inter', sans-serif;
    min-height: 100svh;
}

.bl * {
    box-sizing: border-box;
}

.bl img {
    display: block;
    max-width: 100%;
}

.bl-cover {
    position: relative;
    min-height: 100svh;
    background: #0e0e0e;
    color: #f0ede8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bl-cover-num {
    position: absolute;
    right: -0.05em;
    bottom: -0.15em;
    font-family: 'Playfair Display', serif;
    font-size: clamp(14rem, 30vw, 28rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
}

.bl-cover-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: grid;
    grid-template-columns: 220px 1fr;
}

.bl-cover-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 5vh, 4rem) 2rem clamp(3rem, 6vh, 5rem);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bl-logo-svg {
    width: 100%;
    max-width: 160px;
    height: auto;
    overflow: visible;
}

.bl-cover-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bl-cover-meta span {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.45);
}

.bl-cover-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2.5rem;
    padding: clamp(2rem, 5vh, 4rem) clamp(2rem, 5vw, 4rem);
}

.bl-cover-image-stack {
    position: absolute;
    width: 1366px;
    height: 900px;
    left: calc(65% + (165px * var(--mok-scale)));
    top: calc(65% + (-78px * var(--mok-scale)));
    z-index: 2;
    pointer-events: none;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(var(--mok-scale));
}

.bl-cover-layer {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--w, auto);
    max-width: none;
    transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--scale, 1));
    height: auto;
    object-fit: contain;
    pointer-events: none;
    will-change: transform, opacity, filter;
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1), filter 0.45s ease;
}

.bl-cover-layer--l1 {
    z-index: 5;
}

.bl-cover-layer--l2 {
    z-index: 4;
}

.bl-cover-layer--l3 {
    z-index: 3;
}

.bl-cover-img-caption {
    position: absolute;
    z-index: 6;
    right: 1rem;
    bottom: 0.8rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.bl-cover-layer--mok1 {
    --x: 63%;
    --y: 34%;
    --w: 34%;
    --r: -4deg;
}

.bl-cover-layer--mok2 {
    --x: 76%;
    --y: 52%;
    --w: 30%;
    --r: 6deg;
}

.bl-cover-layer--mok3 {
    --x: 56%;
    --y: 63%;
    --w: 28%;
    --r: -8deg;
}

.bl-cover-layer--mok4 {
    --x: 44%;
    --y: 40%;
    --w: 38%;
    --r: 2deg;
}

.bl-cover-layer--mok5 {
    --x: 71%;
    --y: 30%;
    --w: 26%;
    --r: 12deg;
}

.bl-cover-title {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
}

.bl-ct-line {
    display: block;
    position: relative;
    line-height: 1;
}

.bl-ct-line em {
    display: block;
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #f0ede8;
}

.bl-ct-journal {
    position: relative;
    z-index: 14;
    font-family: 'Mistrully', cursive;
    font-size: clamp(2.2rem, 4.6vw, 4.5rem);
    font-weight: 400;
    color: #cfcfcf;
    line-height: 0.9;
    pointer-events: none;
}

.bl-ct-journal-row {
    display: inline-flex;
    position: relative;
    align-items: baseline;
    gap: 0.65rem;
    z-index: 12;
    margin-top: -0.22em;
    margin-left: 0.14em;
    white-space: nowrap;
}

.bl-ct-journal-sub {
    position: relative;
    z-index: 5;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.82);
    line-height: 1;
}

.bl-ct-rule {
    display: none;
}

.bl-ct-sm {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.5);
}

.bl-marquee {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 44px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bl-marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
}

.bl-marquee-track span {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.4);
}

.bl-sep {
    color: #8f7b5f;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   PINBOARD SECTION
══════════════════════════════════════════ */

.bl-pinboard {
    background: #ffffff;
    padding: clamp(4rem, 6vw, 7rem) clamp(1.5rem, 5vw, 4.5rem) clamp(5rem, 8vw, 9rem);
    color: #0e0e0e;
}

/* ── Header ── */
.bl-pb-head {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.bl-pb-head-top {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
}

.bl-pb-vol,
.bl-pb-count {
    font-size: 0.6rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(14, 14, 14, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
}

.bl-pb-rule {
    flex: 1;
    height: 1px;
    background: rgba(14, 14, 14, 0.12);
}

.bl-pb-head-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.bl-pb-h2 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(3.2rem, 7.5vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.88;
    color: #0e0e0e;
}

.bl-pb-h2 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #c8b99a;
}

.bl-pb-sub {
    margin: 0;
    max-width: 300px;
    font-size: clamp(0.75rem, 0.95vw, 0.85rem);
    line-height: 1.75;
    color: rgba(14, 14, 14, 0.38);
    text-align: right;
}

/* ── Cork board surface ── */
.bl-pb-board {
    position: relative;
    min-height: 800px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* ── Pin card ── */
.bl-pin {
    position: absolute;
    width: 210px;
    background: #fdf9f3;
    text-decoration: none;
    color: #2a201a;
    transform: rotate(var(--r, 0deg));
    transform-origin: top center;
    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.35s ease;
    box-shadow:
        2px 4px 16px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.bl-pin:hover,
.bl-pin:focus-visible {
    transform: rotate(var(--r, 0deg)) translateY(-10px) scale(1.06);
    box-shadow:
        6px 20px 46px rgba(0, 0, 0, 0.58),
        0 3px 6px rgba(0, 0, 0, 0.25);
    z-index: 20;
    outline: none;
}

/* ── Pushpin ── */
.bl-pin-tack {
    display: block;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.5) 0%, var(--tack, #c0392b) 45%, rgba(0, 0, 0, 0.4) 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* ── Image ── */
.bl-pin-img {
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #e0d8cc;
}

.bl-pin-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
}

.bl-pin:hover .bl-pin-img img,
.bl-pin:focus-visible .bl-pin-img img {
    transform: scale(1.07);
}

/* ── Card body ── */
.bl-pin-body {
    padding: 0.75rem 0.9rem 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    background: #fdf9f3;
}

.bl-pin-tag {
    font-size: 0.5rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8f7b5f;
}

.bl-pin-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 0.86rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.45;
    color: #2a201a;
}

.bl-pin-num {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    color: rgba(42, 32, 26, 0.22);
}

/* ── Individual positions ── */
/*  Row 1 — top of board (staggered vertically)  */
.bl-pin--01 { --r: -4deg;   --tack: #c0392b; left: 6%;  top: 38px; }
.bl-pin--02 { --r:  2.5deg; --tack: #2c6fad; left: 38%; top: 16px; }
.bl-pin--03 { --r: -2deg;   --tack: #c9a227; left: 70%; top: 44px; }

/*  Row 2 — lower half, set between row 1 cards  */
.bl-pin--04 { --r: -3deg;   --tack: #8e44ad; left: 22%; top: 425px; }
.bl-pin--05 { --r: -2.5deg; --tack: #a83225; left: 54%; top: 408px; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .bl-cover-inner {
        grid-template-columns: 1fr;
    }

    .bl-cover-left {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .bl-logo-svg {
        max-width: 80px;
    }

    .bl-cover-meta {
        flex-direction: row;
        gap: 1.5rem;
    }

    .bl-cover-right {
        padding: 1.5rem;
    }

    /* Board → grid on tablet */
    .bl-pb-board {
        min-height: auto;
        overflow: hidden;
        border-radius: 3px;
        padding: 2rem 1.5rem 2.5rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.2rem 1.8rem;
    }

    .bl-pb-board::before,
    .bl-pb-board::after {
        display: none;
    }

    .bl-pin {
        position: static;
        width: 100%;
        transform: rotate(var(--r, 0deg));
        box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.38);
    }

    .bl-pin:hover,
    .bl-pin:focus-visible {
        transform: rotate(var(--r, 0deg)) translateY(-6px) scale(1.03);
    }

    .bl-pin-tack {
        top: -13px;
    }

    .bl-pin-img {
        height: 175px;
    }

    .bl-pb-sub {
        text-align: left;
        max-width: none;
    }

    .bl-pb-head-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .bl-cover {
        min-height: auto;
    }

    .bl-cover-num {
        font-size: 40vw;
    }

    .bl-cover-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .bl-cover-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .bl-cover-right {
        gap: 1.75rem;
    }

    .bl-ct-journal-row {
        flex-wrap: wrap;
        gap: 0.4rem;
        white-space: normal;
    }

    .bl-ct-journal-sub {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }

    .bl-marquee-track {
        gap: 1.25rem;
    }

    .bl-pinboard {
        padding: 3rem 1.2rem 4rem;
    }

    .bl-pb-board {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.2rem 2rem;
        gap: 2rem;
    }

    .bl-pin {
        transform: none !important;
    }

    .bl-pin:hover,
    .bl-pin:focus-visible {
        transform: translateY(-4px) scale(1.02) !important;
    }

    .bl-pin-tack {
        display: none;
    }

    .bl-pin-img {
        height: 200px;
    }
}

/* CSS overrides */

@keyframes mokReveal {
    from {
        opacity: 0;
        filter: blur(4px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes mokFloat1 {
    0% { transform: translate3d(0, 0, 0) rotate(-0.6deg) scale(0.527, 0.527); }
    50% { transform: translate3d(6px, -5px, 0) rotate(0.9deg) scale(0.533, 0.533); }
    100% { transform: translate3d(0, 0, 0) rotate(-0.6deg) scale(0.527, 0.527); }
}

@keyframes mokFloat2 {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.683, 0.683); }
    50% { transform: translate3d(-6px, -7px, 0) rotate(-1deg) scale(0.692, 0.692); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(0.683, 0.683); }
}

@keyframes mokFloat3 {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.116, 1.116); }
    50% { transform: translate3d(8px, -4px, 0) rotate(0.8deg) scale(1.128, 1.128); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.116, 1.116); }
}

@keyframes mokFloat4 {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.058, 1.058); }
    50% { transform: translate3d(-7px, -5px, 0) rotate(-0.9deg) scale(1.071, 1.071); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.058, 1.058); }
}

@keyframes mokFloat5 {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.329, 1.329); }
    50% { transform: translate3d(6px, -6px, 0) rotate(0.8deg) scale(1.341, 1.341); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.329, 1.329); }
}

.bl-cover-layer.bl-cover-layer--l1.bl-cover-layer--mok1 {
    left: 958.254px;
    top: 294.98px;
    transform-origin: left bottom;
    transform: scale(0.527, 0.527);
    animation: mokReveal 0.65s ease-out 0.05s both;
}

.bl-cover-layer.bl-cover-layer--l1.bl-cover-layer--mok2 {
    left: 946.127px;
    top: -135.998px;
    transform-origin: left bottom;
    transform: scale(0.683, 0.683);
    animation: mokReveal 0.7s ease-out 0.12s both;
}

.bl-cover-layer.bl-cover-layer--l1.bl-cover-layer--mok3 {
    left: 266.556px;
    top: 391px;
    transform-origin: left bottom;
    transform: scale(1.116, 1.116);
    animation: mokReveal 0.75s ease-out 0.2s both;
}

.bl-cover-layer.bl-cover-layer--l2.bl-cover-layer--mok4 {
    left: 537.924px;
    top: 40.0195px;
    transform-origin: right bottom;
    transform: scale(1.058, 1.058);
    animation: mokReveal 0.8s ease-out 0.28s both;
}

.bl-cover-layer.bl-cover-layer--l3.bl-cover-layer--mok5 {
    left: 411.133px;
    top: -1.01511px;
    transform-origin: right bottom;
    transform: scale(1.329, 1.329);
    animation: mokReveal 0.85s ease-out 0.35s both;
}

.bl-cover:hover .bl-cover-layer--mok1 {
    transform: translate3d(10px, -6px, 0) scale(0.545, 0.545);
    filter: brightness(1.04);
}

.bl-cover:hover .bl-cover-layer--mok2 {
    transform: translate3d(-8px, -10px, 0) scale(0.705, 0.705);
    filter: brightness(1.03);
}

.bl-cover:hover .bl-cover-layer--mok3 {
    transform: translate3d(12px, -5px, 0) scale(1.14, 1.14);
    filter: brightness(1.05);
}

.bl-cover:hover .bl-cover-layer--mok4 {
    transform: translate3d(-10px, -6px, 0) scale(1.08, 1.08);
    filter: brightness(1.03);
}

.bl-cover:hover .bl-cover-layer--mok5 {
    transform: translate3d(8px, -8px, 0) scale(1.35, 1.35);
    filter: brightness(1.02);
}

.bl-cover-right {
    position: relative;
}

.bl-ct-line.bl-ct-journal-row {
    left: 86.0073px;
    top: -21.0488px;
    transform: scale(1.09);
    transform-origin: center center;
}

.bl-ct-journal-sub {
    transform: scale(1.25);
    transform-origin: center center;
    left: 50.2728px;
    top: -0.0111389px;
}

.bl-cover-meta > span:nth-child(1) {
    position: relative;
    transform: scale(1.5);
    transform-origin: center center;
    left: 28px;
    top: -82.457px;
    text-transform: lowercase;
}

.bl-cover-meta > span:nth-child(2) {
    position: relative;
    transform: scale(1.5);
    transform-origin: center center;
    left: 28px;
    top: -43.5234px;
    text-transform: lowercase;
}

.bl-ct-line > em:nth-child(1) {
    position: relative;
    font-weight: 700;
    font-size: 150px;
}

/* Responsive: keep mok composition grouped and scale as a single set */
@media (max-width: 1200px) {
    .bl-ct-line.bl-ct-journal-row {
        left: 0;
        top: 0;
        transform: none;
    }

    .bl-ct-journal-sub {
        left: 0;
        top: 0;
        transform: none;
    }

    .bl-cover-meta > span:nth-child(1),
    .bl-cover-meta > span:nth-child(2) {
        left: 0;
        top: 0;
        transform: none;
    }

    .bl-ct-line > em:nth-child(1) {
        font-size: clamp(3.6rem, 8vw, 6.4rem);
    }
}

@media (max-width: 900px) {
    .bl-cover-meta {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .bl {
        --mok-scale: clamp(0.24, min(calc((100vw - 16px) / 1920px), calc((100svh - 140px) / 1080px)), 0.46);
    }

    .bl-ct-journal-sub {
        font-size: 0.66rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bl-cover-layer {
        animation: none !important;
        transition: none !important;
    }

    .bl-cover:hover .bl-cover-layer--mok1,
    .bl-cover:hover .bl-cover-layer--mok2,
    .bl-cover:hover .bl-cover-layer--mok3,
    .bl-cover:hover .bl-cover-layer--mok4,
    .bl-cover:hover .bl-cover-layer--mok5 {
        transform: none !important;
        filter: none !important;
    }
}

