/* Kaskamko cork wall, v1
   Light side-light, warm cork, paper polaroids pinned with brass tacks and washi tape.
   Palette is fixed at root; each product still owns its own colors inside its spread. */

:root {
    --k-orange: #f19300;
    --k-red: #db281c;
    --k-paper: #fefefd;
    --k-paper-soft: #e8e9ef;
    --k-green: #448e0d;

    --cork-base: #b88a52;
    --cork-warm: #a06f3a;
    --cork-deep: #6e451e;
    --cork-edge: #4a2c12;

    --ink: #1f1612;
    --ink-soft: #4a3a30;
    --pencil: #594b3a;

    --r-tilt: 1.2deg;

    --font-display: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
    --font-hand: "Caveat", "Marker Felt", "Brush Script MT", cursive;

    --shadow-paper: 0 2px 4px rgba(20,10,0,0.18), 0 10px 22px rgba(20,10,0,0.30);
    --shadow-paper-hover: 0 4px 8px rgba(20,10,0,0.22), 0 22px 38px rgba(20,10,0,0.42);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-text);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------- CORK WALL */
/* Full-bleed cork-on-desk photo as the page background. Polaroids,
   letterhead, sticky, card are absolutely positioned over the cork
   interior of this background. */
.cork-wall {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #c8a07a;
    background-image: url("/img/cork-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Subtle ambient overlay */
.cork-wall::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 25% 18%, rgba(255,240,210,0.10), transparent 55%);
}

/* --------------------------------------------------------- BOARD LAYOUT */
/* The board is a viewport-sized positioning container. Background is on
   .cork-wall so the photo is full-bleed; .board just defines the % space
   that polaroids and chrome are positioned within. */
.board {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    margin: 0;
}

/* --------------------------------------------------------- LETTERHEAD */
/* Positioned at top of cork interior */
.letterhead {
    position: absolute;
    top: 4%;
    left: 50%;
    width: 30%;
    max-width: 560px;
    transform: translateX(-50%) rotate(-0.4deg);
    background: var(--k-paper);
    padding: clamp(14px, 1.6vw, 28px) clamp(18px, 2.4vw, 36px) clamp(18px, 2vw, 34px);
    box-shadow: var(--shadow-paper);
    z-index: 4;
}
.letterhead::before,
.letterhead::after {
    content: "";
    position: absolute;
    top: -11px;
    width: 78px; height: 20px;
    background: linear-gradient(90deg, rgba(241,147,0,0.85), rgba(219,40,28,0.75));
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}
.letterhead::before { left: 24px; transform: rotate(-6deg); }
.letterhead::after { right: 24px; transform: rotate(7deg); background: linear-gradient(90deg, rgba(219,40,28,0.75), rgba(241,147,0,0.85)); }

.letterhead h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 4.5vw, 52px);
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--ink);
    line-height: 1;
}
.letterhead .rule {
    height: 1px;
    background: var(--ink);
    opacity: 0.16;
    width: 60%;
    margin: 14px auto 12px;
}
.letterhead .tagline {
    margin: 0;
    text-align: center;
    font-family: var(--font-hand);
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--pencil);
    line-height: 1.1;
}

/* --------------------------------------------------------- POLAROID GRID */
/* The grid is now just a positioning context (display: contents) so its
   children (polaroids) lay out absolutely inside .board. */
.grid { display: contents; }

/* Responsive scaling for the diorama: as the viewport shrinks, polaroid
   captions, stickies, and the business card shrink proportionally so they
   still fit on the cork. */
@media (max-width: 1100px) {
    .letterhead { width: 42%; padding: 12px 18px 14px; }
    .letterhead h1 { font-size: clamp(20px, 3.5vw, 32px); }
    .letterhead .tagline { font-size: clamp(11px, 1.5vw, 15px); }
    .polaroid .cap { font-size: clamp(13px, 1.7vw, 18px); }
    .polaroid .cap small { font-size: clamp(7px, 0.85vw, 10px); }
    .sticky { padding: 8px 10px; font-size: 12px; min-width: 100px; max-width: 130px; }
    .card { padding: 8px 12px; min-width: 150px; }
    .card .name { font-size: 13px; letter-spacing: 1px; }
    .card .role { font-size: 7px; }
    .card .links { font-size: 9px; }
}
@media (max-width: 760px) {
    .letterhead { width: 50%; padding: 8px 12px 10px; }
    .letterhead h1 { font-size: clamp(15px, 4vw, 22px); }
    .letterhead .tagline { font-size: clamp(9px, 1.8vw, 12px); }
    .polaroid .cap { font-size: clamp(11px, 2.2vw, 14px); }
    .polaroid .cap small { display: none; }
    .sticky { padding: 6px 8px; font-size: 10px; min-width: 78px; max-width: 100px; }
    .card { padding: 6px 8px; min-width: 110px; }
    .card .name { font-size: 11px; }
    .card .role { font-size: 6px; }
    .card .links { font-size: 8px; }
    .card .rule { margin: 4px 0; }
}
/* Tablet zone: at 821-1180px the viewport aspect approaches the photo's
   4:3, so the photo fills tightly and the cork interior sits lower in the
   viewport than at wide 16:9 desktop. Push chrome down to compensate so
   nothing lands on the wall above the cork. */
@media (min-width: 821px) and (max-width: 1180px) {
    .letterhead {
        top: 11% !important;
        width: 40% !important;
    }
    .cork-wall .sticky[data-spread="about"] {
        top: 13% !important;
        left: 16% !important;
    }
    .cork-wall .card {
        top: 13% !important;
        right: 17% !important;
    }
    .polaroid[data-spread="solar-sailer"]  { top: 28% !important; left: 18% !important; width: 14% !important; }
    .polaroid[data-spread="dailyquad"]     { top: 26% !important; left: 43% !important; width: 14% !important; }
    .polaroid[data-spread="fairy-ponies"]  { top: 28% !important; left: 68% !important; width: 14% !important; }
    .polaroid[data-spread="zombie-island"] { top: 56% !important; left: 17% !important; width: 14% !important; }
    .polaroid[data-spread="walle"]         { top: 54% !important; left: 43% !important; width: 14% !important; }
    .polaroid[data-spread="sitsatgo"]      { top: 56% !important; left: 68% !important; width: 14% !important; }
}

@media (max-width: 820px) {
    /* On phones and narrow tablets, the whole page becomes cork. Just
       the texture, no frame, no plant, no desk. Polaroids stack on it. */
    .cork-wall {
        padding: 32px 16px 40px;
        background: url("/img/cork-texture.jpg") center/cover repeat;
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }
    .cork-wall .board {
        aspect-ratio: auto !important;
        max-width: 420px !important;
        width: 100% !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    .cork-wall .letterhead,
    .cork-wall .polaroid[data-spread],
    .cork-wall .sticky,
    .cork-wall .card {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 380px !important;
    }
    .cork-wall .letterhead {
        transform: rotate(-0.6deg) !important;
        margin: 0 auto 24px !important;
        padding: 18px 22px 22px !important;
    }
    .letterhead h1 { font-size: 28px !important; letter-spacing: 2.5px !important; }
    .letterhead .tagline { font-size: 14px !important; }
    .cork-wall .grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 36px !important;
        margin: 24px auto !important;
    }
    .cork-wall .polaroid {
        padding: 14px 14px 36px !important;
    }
    .polaroid .cap { font-size: 22px !important; margin-top: 10px !important; }
    .polaroid .cap small { display: block !important; font-size: 10px !important; margin-top: 5px !important; }
    .cork-wall .sticky {
        max-width: 200px !important;
        margin: 0 auto 24px !important;
        padding: 14px 16px !important;
        font-size: 16px !important;
        transform: rotate(-4deg) !important;
    }
    .cork-wall .card {
        max-width: 280px !important;
        margin: 24px auto 0 !important;
        padding: 14px 18px !important;
        transform: rotate(1.2deg) !important;
    }
    .card .name { font-size: 16px !important; }
    .card .role { font-size: 9px !important; }
    .card .links { font-size: 12px !important; }
}

/* --------------------------------------------------------- POLAROID */
.polaroid {
    position: absolute;
    background: var(--k-paper);
    padding: clamp(8px, 0.9%, 16px) clamp(8px, 0.9%, 16px) clamp(24px, 2.8%, 48px);
    box-shadow: var(--shadow-paper);
    transform: rotate(var(--r));
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.04);
    will-change: transform;
    z-index: 3;
}
.polaroid:hover,
.polaroid:focus-visible {
    transform: rotate(0deg) translateY(-8px) scale(1.06);
    box-shadow: var(--shadow-paper-hover);
    outline: none;
    z-index: 20;
}
.polaroid .stage {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
}

/* Per-polaroid placement on the cork board (percentages of .board = viewport) */
.polaroid[data-spread="solar-sailer"]  { top: 19%; left: 17%; width: 15%; }
.polaroid[data-spread="dailyquad"]     { top: 17%; left: 42%; width: 15%; }
.polaroid[data-spread="fairy-ponies"]  { top: 19%; left: 67%; width: 15%; }
.polaroid[data-spread="zombie-island"] { top: 55%; left: 16%; width: 15%; }
.polaroid[data-spread="walle"]         { top: 53%; left: 42%; width: 15%; }
.polaroid[data-spread="sitsatgo"]      { top: 55%; left: 67%; width: 15%; }
.polaroid .stage img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.polaroid .cap {
    margin-top: clamp(8px, 0.9%, 14px);
    text-align: center;
    font-family: var(--font-hand);
    font-size: clamp(16px, 1.7vw, 24px);
    color: var(--pencil);
    line-height: 1;
    letter-spacing: 0.5px;
}
.polaroid .cap small {
    display: block;
    font-family: var(--font-text);
    font-size: clamp(8px, 0.75vw, 11px);
    color: rgba(89,75,58,0.7);
    margin-top: 6px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* --------------------------------------------------------- FASTENERS (nested inside polaroid) */
.fastener {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}
.tape {
    width: clamp(48px, 5vw, 70px);
    height: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.22);
    opacity: 0.88;
}
.tape.orange { background: linear-gradient(90deg, rgba(241,147,0,0.88), rgba(219,114,0,0.88)); }
.tape.red    { background: linear-gradient(90deg, rgba(219,40,28,0.85), rgba(170,30,18,0.85)); }
.tape.green  { background: linear-gradient(90deg, rgba(68,142,13,0.85), rgba(54,114,10,0.85)); }
.tape.cream  { background: linear-gradient(90deg, rgba(254,254,253,0.88), rgba(232,233,239,0.88)); }
.tack {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f87171 0%, #b91c1c 60%, #7f1d1d 100%);
    box-shadow:
        0 3px 5px rgba(0,0,0,0.5),
        inset -1px -1px 2px rgba(0,0,0,0.45),
        inset 1px 1px 2px rgba(255,255,255,0.45);
}
.tack.red    { background: radial-gradient(circle at 30% 30%, #f87171 0%, var(--k-red) 60%, #7f1d1d 100%); }
.tack.orange { background: radial-gradient(circle at 30% 30%, #fdba74 0%, var(--k-orange) 60%, #92400e 100%); }
.tack.green  { background: radial-gradient(circle at 30% 30%, #86efac 0%, var(--k-green) 60%, #14532d 100%); }
.tack.brass  { background: radial-gradient(circle at 30% 30%, #fde68a 0%, #b45309 60%, #78350f 100%); }
.tack.silver { background: radial-gradient(circle at 30% 30%, #f8fafc 0%, #94a3b8 60%, #475569 100%); }

/* Fastener placement on polaroid */
.pin-tl { top: -10px;  left: -14px; transform: rotate(-18deg); }
.pin-tr { top: -10px;  right: -14px; transform: rotate(18deg); }
.pin-bl { bottom: -8px; left: -14px; transform: rotate(15deg); }
.pin-br { bottom: -8px; right: -14px; transform: rotate(-15deg); }
.tack.pin-tl { top: 6px;  left: 6px;  transform: none; }
.tack.pin-tr { top: 6px;  right: 6px; transform: none; }
.tack.pin-bl { bottom: 36px; left: 6px;  transform: none; }
.tack.pin-br { bottom: 36px; right: 6px; transform: none; }
.tack.pin-tc { top: 6px; left: 50%; transform: translateX(-50%); }

/* --------------------------------------------------------- STAGE TREATMENTS (per product) */
.stage-rocket {
    background: #03050d;
    display: flex; align-items: center; justify-content: center;
}
.stage-rocket img {
    width: 65%; height: auto; object-fit: contain;
    filter: drop-shadow(0 8px 22px rgba(255,80,40,0.5));
}

.stage-quad {
    background: #0a0f1c;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stage-quad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.stage-fairy {
    background: #1a0824;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stage-fairy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.stage-zombie {
    background: #0a1208;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.stage-zombie img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.stage-walle {
    background: #050505;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    color: #fff;
    font-family: var(--font-text);
    overflow: hidden;
}
.stage-walle .wb-left {
    position: relative;
    background:
        radial-gradient(ellipse at 70% 80%, rgba(255,180,90,0.35), transparent 55%),
        radial-gradient(ellipse at 20% 20%, rgba(80,60,40,0.55), transparent 60%),
        linear-gradient(140deg, #3b2618 0%, #1f1207 60%, #0f0805 100%);
    padding: 9px 8px 6px;
    display: flex;
    flex-direction: column;
}
.stage-walle .wb-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 65%, rgba(220,200,170,0.25) 8px, transparent 14px),
        radial-gradient(circle at 65% 78%, rgba(255,255,255,0.18) 6px, transparent 11px);
    opacity: 0.7;
}
.stage-walle .wb-time {
    position: relative;
    z-index: 1;
    font-family: var(--font-text);
    font-weight: 200;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.stage-walle .wb-time sup {
    font-size: 8px;
    font-weight: 400;
    margin-left: 1px;
    vertical-align: 9px;
}
.stage-walle .wb-time small {
    font-size: 9px;
    font-weight: 400;
    margin-left: 1px;
}
.stage-walle .wb-date {
    position: relative;
    z-index: 1;
    text-align: right;
    margin-top: 4px;
    line-height: 1.05;
}
.stage-walle .wb-date .num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
}
.stage-walle .wb-date .mo {
    font-size: 8px;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-top: 1px;
}
.stage-walle .wb-date .yr {
    font-size: 7.5px;
    opacity: 0.7;
    letter-spacing: 0.5px;
}
.stage-walle .wb-sunmoon {
    position: relative;
    z-index: 1;
    margin-top: auto;
    font-size: 7px;
    opacity: 0.85;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}
.stage-walle .wb-temp {
    position: relative;
    z-index: 1;
    text-align: right;
    font-size: 14px;
    font-weight: 300;
    margin-top: 2px;
}
.stage-walle .wb-temp::before {
    content: "\2600";
    font-size: 10px;
    margin-right: 3px;
    color: #fde68a;
}
.stage-walle .wb-forecast {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 5px;
}
.stage-walle .wb-forecast .f {
    text-align: center;
    font-size: 6.5px;
    line-height: 1.2;
}
.stage-walle .wb-forecast .f b {
    display: block;
    font-weight: 700;
    letter-spacing: 0.6px;
    opacity: 0.95;
}
.stage-walle .wb-forecast .f .ico {
    font-size: 9px;
    line-height: 1;
    margin: 1px 0;
    color: #fbbf24;
}
.stage-walle .wb-forecast .f .ico.cloud { color: #cbd5e1; }
.stage-walle .wb-forecast .f .hi-lo {
    font-size: 6px;
    opacity: 0.85;
}

.stage-walle .wb-right {
    background: #050505;
    padding: 9px 8px;
    overflow: hidden;
    position: relative;
}
.stage-walle .wb-day {
    margin-bottom: 7px;
    line-height: 1.05;
}
.stage-walle .wb-day .head {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 3px;
}
.stage-walle .wb-day .num {
    color: var(--k-orange);
    font-family: var(--font-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.stage-walle .wb-day .lbl {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}
.stage-walle .wb-day .ev {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 4px;
    font-size: 6px;
    line-height: 1.25;
    padding: 1.5px 0 1.5px 4px;
    border-left: 1.5px solid var(--k-orange);
    margin-left: 4px;
}
.stage-walle .wb-day .ev + .ev { margin-top: 1px; }
.stage-walle .wb-day .ev .t {
    font-weight: 600;
    opacity: 0.95;
}
.stage-walle .wb-day .ev .n {
    opacity: 0.85;
}
.stage-walle .wb-day .ev.b { border-left-color: #5b7cff; }
.stage-walle .wb-day .ev.g { border-left-color: var(--k-green); }
.stage-walle .wb-day .ev.p { border-left-color: #db2777; }

.stage-sit {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.06), transparent 60%),
        #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 6%;
}
.stage-sit .front {
    position: absolute;
    top: 12%; left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: var(--k-paper);
    font-family: var(--font-text);
    font-size: 7px;
    padding: 2.5px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1.2px;
    z-index: 2;
}
.stage-sit .tbl {
    position: absolute;
    background: var(--k-paper);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 4px;
    box-shadow: 0 2px 4px rgba(15,23,42,0.06);
    min-width: 14%;
}
.stage-sit .tbl .h {
    font-family: var(--font-text);
    font-size: 6.5px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
}
.stage-sit .tbl .p {
    background: var(--k-paper);
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    font-family: var(--font-text);
    font-size: 5.5px;
    color: #1e293b;
    text-align: center;
    padding: 1.5px 2px;
    margin-bottom: 1.5px;
    letter-spacing: 0.3px;
    font-weight: 600;
}
.stage-sit .tbl .p:last-child { margin-bottom: 0; }
.stage-sit .tbl.empty {
    height: 28px;
}

/* --------------------------------------------------------- STICKY NOTES */
.sticky {
    position: absolute;
    z-index: 5;
    padding: 14px 16px 16px;
    font-family: var(--font-hand);
    font-size: 17px;
    color: var(--ink);
    line-height: 1.25;
    box-shadow: 3px 8px 14px rgba(0,0,0,0.28);
    min-width: 130px;
    max-width: 180px;
    transform: rotate(var(--r, -4deg));
    cursor: pointer;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky:hover { transform: rotate(0deg) scale(1.04); }
.sticky .label {
    display: block;
    font-family: var(--font-text);
    font-size: 9px;
    letter-spacing: 1.8px;
    color: rgba(31,22,18,0.55);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}
.sticky.yellow { background: #fef9b3; }
.sticky.pink   { background: #fbcfe8; }
.sticky.blue   { background: #c6e3f7; }
.sticky.green  { background: #ddf2c4; }
.sticky .arrow {
    display: inline-block;
    margin-top: 6px;
    font-family: var(--font-hand);
    font-size: 13px;
    color: var(--k-red);
}

/* --------------------------------------------------------- BUSINESS CARD */
.card {
    position: absolute;
    background: var(--ink);
    color: var(--k-paper);
    padding: 14px 18px 16px;
    font-family: var(--font-text);
    z-index: 6;
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
    transform: rotate(var(--r, -2deg));
    border-radius: 1px;
    min-width: 220px;
}
.card .name {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.card .role {
    font-size: 9px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(254,254,253,0.6);
    margin-top: 4px;
}
.card .rule {
    height: 1px; background: rgba(254,254,253,0.18);
    margin: 10px 0;
}
.card .links {
    font-size: 11px;
    color: rgba(254,254,253,0.85);
    letter-spacing: 0.4px;
}
.card .links a { color: var(--k-orange); text-decoration: none; }
.card .links a:hover { text-decoration: underline; }

/* --------------------------------------------------------- CALENDAR */
.cal {
    position: absolute;
    background: var(--k-paper);
    padding: 8px 12px 10px;
    font-family: var(--font-text);
    box-shadow: var(--shadow-paper);
    z-index: 4;
    transform: rotate(var(--r, 3deg));
    min-width: 90px;
    text-align: center;
}
.cal .m {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--k-red);
    font-weight: 700;
    background: var(--k-paper-soft);
    margin: -8px -12px 4px;
    padding: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cal .d {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin: 6px 0 2px;
}
.cal .w {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--pencil);
    text-transform: uppercase;
}

/* --------------------------------------------------------- PEN */
.pen {
    position: absolute;
    width: 110px;
    height: 10px;
    background: linear-gradient(90deg,
        var(--k-orange) 0%,
        #b8530b 88%,
        var(--ink) 100%);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transform: rotate(var(--r, 22deg));
    z-index: 4;
}
.pen::after {
    content: "";
    position: absolute;
    right: -8px; top: 1px;
    width: 0; height: 0;
    border-left: 9px solid var(--ink);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* --------------------------------------------------------- DECORATIVE: COFFEE RING */
.coffee {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(40,20,5,0.30);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

/* --------------------------------------------------------- SPREAD OVERLAY */
.spread-backdrop {
    position: fixed; inset: 0;
    background: rgba(20,12,4,0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    z-index: 90;
}
.spread-backdrop.is-open { opacity: 1; pointer-events: auto; }

.spread {
    position: fixed;
    inset: 4vh 4vw;
    background: var(--k-paper);
    border-radius: 6px;
    box-shadow: 0 60px 120px rgba(0,0,0,0.5);
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    transform: scale(0.96) translateY(8px);
    pointer-events: none;
    transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}
.spread.is-open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
.spread-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 110;
    appearance: none;
    border: 1px solid rgba(0,0,0,0.12);
    background: var(--k-paper);
    color: var(--ink);
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 200ms ease;
}
.spread-close:hover { transform: scale(1.08); }

.spread-content { flex: 1; overflow: auto; }

/* --------- Spread internals --------- */
.sp-hero {
    padding: 64px clamp(24px, 5vw, 64px) 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.sp-hero .kicker {
    display: inline-block;
    font-family: var(--font-text);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--k-red);
    font-weight: 700;
    margin-bottom: 12px;
}
.sp-hero h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(36px, 5vw, 62px);
    margin: 0 0 12px;
    line-height: 1.02;
    letter-spacing: -0.01em;
}
.sp-hero h2 em { font-style: italic; color: var(--k-red); }
.sp-hero p.lede {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0;
    line-height: 1.5;
}

.sp-body {
    padding: 24px clamp(24px, 5vw, 64px) 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 16px;
}
@media (max-width: 800px) {
    .sp-grid { grid-template-columns: 1fr; }
}

.sp-stage {
    background: #03050d;
    border-radius: 10px;
    aspect-ratio: 9 / 14;
    max-height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-stage iframe {
    width: 100%; height: 100%;
    border: 0;
    display: block;
}
.sp-stage .splash {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    gap: 18px;
    transition: opacity 240ms ease;
}
.sp-stage .splash.hidden { opacity: 0; pointer-events: none; }
.sp-stage .splash img {
    width: 50%; max-width: 220px;
    filter: drop-shadow(0 8px 24px rgba(255,80,40,0.5));
    animation: hover 4.5s ease-in-out infinite;
}
@keyframes hover {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}
.sp-stage .splash button {
    appearance: none;
    border: none;
    background: var(--k-red);
    color: var(--k-paper);
    font-family: var(--font-text);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(219,40,28,0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.sp-stage .splash button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(219,40,28,0.55);
}
.sp-stage .splash button::before {
    content: "";
    width: 0; height: 0;
    border-left: 9px solid currentColor;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.sp-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-board {
    background: var(--ink);
    color: var(--k-paper);
    border-radius: 10px;
    padding: 22px 24px;
}
.sp-board h3 {
    margin: 0 0 14px;
    font-family: var(--font-text);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    display: flex; justify-content: space-between; align-items: center;
}
.sp-board h3 .live {
    font-size: 10px;
    color: var(--k-orange);
    display: inline-flex; align-items: center; gap: 6px;
    letter-spacing: 1.5px;
}
.sp-board h3 .live::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--k-orange);
    box-shadow: 0 0 8px var(--k-orange);
    animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
    0%,100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.sp-board ol {
    list-style: none;
    margin: 0;
    padding: 0;
    font-variant-numeric: tabular-nums;
}
.sp-board li {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(254,254,253,0.07);
    font-size: 15px;
}
.sp-board li:last-child { border-bottom: none; }
.sp-board li .rank {
    font-size: 11px;
    color: rgba(254,254,253,0.5);
    letter-spacing: 1px;
}
.sp-board li .name { font-weight: 600; letter-spacing: 1px; }
.sp-board li .score { color: var(--k-orange); font-weight: 700; }
.sp-board .footnote {
    font-size: 10px;
    color: rgba(254,254,253,0.42);
    margin-top: 12px;
    line-height: 1.55;
    letter-spacing: 0.3px;
}

.sp-cta-row {
    background: var(--k-paper-soft);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.sp-cta-row .lbl { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--pencil); font-weight: 600; }
.sp-cta-row a.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--k-paper);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.sp-cta-row a.btn:hover { background: var(--k-red); }
.sp-cta-row a.btn.outline {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
}
.sp-cta-row a.btn.outline:hover { background: var(--ink); color: var(--k-paper); }

.sp-screens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.sp-screens img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-paper);
}

/* ---- Walle spread preview (a bigger render of the wall calendar) ---- */
.walle-preview {
    width: 100%;
    height: 100%;
    background: #050505;
    color: #fff;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    overflow: hidden;
    border-radius: 6px;
    font-family: var(--font-text);
}
.walle-preview .wp-left {
    position: relative;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at 75% 85%, rgba(255,170,90,0.32), transparent 55%),
        radial-gradient(ellipse at 30% 25%, rgba(70,50,30,0.55), transparent 60%),
        linear-gradient(140deg, #3b2618 0%, #1f1207 60%, #0f0805 100%);
}
.walle-preview .wp-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 70%, rgba(220,200,170,0.30) 18px, transparent 30px),
        radial-gradient(circle at 70% 78%, rgba(255,255,255,0.20) 14px, transparent 26px);
    opacity: 0.7;
    pointer-events: none;
}
.walle-preview .wp-time {
    position: relative;
    z-index: 1;
    font-weight: 200;
    font-size: 56px;
    line-height: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.walle-preview .wp-time sup {
    font-size: 18px;
    font-weight: 400;
    margin-left: 2px;
    vertical-align: 22px;
}
.walle-preview .wp-time small {
    font-size: 22px;
    font-weight: 400;
}
.walle-preview .wp-date {
    position: relative;
    z-index: 1;
    text-align: right;
    margin-top: 12px;
    line-height: 1.05;
}
.walle-preview .wp-num {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
}
.walle-preview .wp-mo {
    font-size: 16px;
    letter-spacing: 0.6px;
    opacity: 0.92;
    margin-top: 2px;
}
.walle-preview .wp-yr {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 0.6px;
}
.walle-preview .wp-sunmoon {
    position: relative;
    z-index: 1;
    margin-top: auto;
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}
.walle-preview .wp-temp {
    position: relative;
    z-index: 1;
    text-align: right;
    font-size: 28px;
    font-weight: 300;
    margin-top: 6px;
    color: #fde68a;
}
.walle-preview .wp-temp::first-letter { color: #fde68a; }
.walle-preview .wp-forecast {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
}
.walle-preview .wp-forecast > div {
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
}
.walle-preview .wp-forecast b {
    display: block;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.95;
}
.walle-preview .wp-forecast .i {
    font-size: 18px;
    line-height: 1;
    margin: 3px 0;
    color: #fbbf24;
}
.walle-preview .wp-forecast .i.c { color: #cbd5e1; }
.walle-preview .wp-forecast .hl {
    font-size: 10px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.walle-preview .wp-right {
    background: #050505;
    padding: 22px 22px 20px;
    overflow: auto;
}
.walle-preview .wp-day {
    margin-bottom: 14px;
}
.walle-preview .wp-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}
.walle-preview .wp-d-num {
    color: var(--k-orange);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.walle-preview .wp-d-lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.9;
}
.walle-preview .wp-ev {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    font-size: 13px;
    line-height: 1.35;
    padding: 4px 0 4px 10px;
    border-left: 2px solid var(--k-orange);
    margin-left: 6px;
}
.walle-preview .wp-ev + .wp-ev { margin-top: 2px; }
.walle-preview .wp-t {
    font-weight: 600;
    opacity: 0.95;
}
.walle-preview .wp-n {
    opacity: 0.9;
}
.walle-preview .wp-ev.b { border-left-color: #5b7cff; }
.walle-preview .wp-ev.g { border-left-color: var(--k-green); }
.walle-preview .wp-ev.p { border-left-color: #db2777; }

@media (max-width: 800px) {
    .walle-preview { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .walle-preview .wp-time { font-size: 44px; }
    .walle-preview .wp-num { font-size: 48px; }
}

/* --------------------------------------------------------- A11Y AND PRINT */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* No JS fallback list */
.no-js-list { display: none; }
.no-js .no-js-list {
    display: block;
    position: relative;
    z-index: 1;
    padding: 56px clamp(20px, 4vw, 72px);
    background: var(--k-paper);
}

/* --------------------------------------------------------- FOOTER */
.foot {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 0 12px;
    font-family: var(--font-text);
    font-size: 11px;
    letter-spacing: 0.6px;
    color: rgba(254,254,253,0.7);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.foot a { color: rgba(254,254,253,0.9); text-decoration: underline; text-decoration-color: rgba(254,254,253,0.3); }
.foot a:hover { text-decoration-color: var(--k-orange); }
