/* A Jinglewood Advent Calendar: a cozy Christmas scrapbook. The shared header and footer keep their own theme. */

/* The paper runs under the shared "Suggested by this Creator" block too. */
#primary:has(.jw-page) {
    background: #f3e7d9 url("../images/jinglewood/bard-and-raven_textured-paper.png") repeat;
    background-size: 400px auto;
}

.jw-page {
    --jw-ink: #25214f;
    --jw-ink-soft: #4b4777;
    --jw-night: #1d1a48;
    --jw-gold: #c4952b;
    --jw-gold-light: #e8c35c;
    --jw-lilac: #b9b5ff;
    --jw-berry: #a3283b;
    --jw-berry-dark: #6f1527;
    --jw-pine: #2c5641;
    --jw-periwinkle: #5d60c3;
    --jw-kraft: #dcc29a;
    --jw-card: #fffaf2;
    --jw-paper: #f3e7d9;
    --jw-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --jw-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
    /* Two large, mismatched tiles of evenly spaced specks, so the sparkle never lines up into a grid. */
    --jw-glitter:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='360'%3E%3Ccircle cx='136' cy='54' r='0.7' fill='%23c9beff' fill-opacity='0.59'/%3E%3Ccircle cx='273' cy='26' r='0.7' fill='%23e8c35c' fill-opacity='0.73'/%3E%3Ccircle cx='225' cy='132' r='0.9' fill='%23c9beff' fill-opacity='0.64'/%3E%3Ccircle cx='24' cy='183' r='1.1' fill='%23fff' fill-opacity='0.46'/%3E%3Ccircle cx='29' cy='33' r='1.0' fill='%23fff' fill-opacity='0.78'/%3E%3Ccircle cx='178' cy='298' r='1.6' fill='%23fff' fill-opacity='0.74'/%3E%3Ccircle cx='361' cy='104' r='0.8' fill='%23fff' fill-opacity='0.76'/%3E%3Ccircle cx='76' cy='209' r='1.0' fill='%23fff' fill-opacity='0.67'/%3E%3Ccircle cx='286' cy='154' r='1.6' fill='%23e8c35c' fill-opacity='0.71'/%3E%3Ccircle cx='334' cy='252' r='1.3' fill='%23e8c35c' fill-opacity='0.51'/%3E%3Ccircle cx='16' cy='241' r='1.1' fill='%23fff' fill-opacity='0.38'/%3E%3Ccircle cx='353' cy='340' r='0.8' fill='%23fff' fill-opacity='0.55'/%3E%3Ccircle cx='199' cy='239' r='0.7' fill='%23fff' fill-opacity='0.7'/%3E%3Ccircle cx='54' cy='89' r='1.3' fill='%23c9beff' fill-opacity='0.36'/%3E%3Ccircle cx='117' cy='150' r='0.7' fill='%23fff' fill-opacity='0.75'/%3E%3Ccircle cx='11' cy='315' r='0.8' fill='%23fff' fill-opacity='0.77'/%3E%3Ccircle cx='222' cy='53' r='0.9' fill='%23fff' fill-opacity='0.74'/%3E%3Ccircle cx='222' cy='352' r='0.7' fill='%23c9beff' fill-opacity='0.67'/%3E%3Ccircle cx='70' cy='278' r='0.7' fill='%23fff' fill-opacity='0.36'/%3E%3Ccircle cx='353' cy='173' r='0.7' fill='%23e8c35c' fill-opacity='0.65'/%3E%3Ccircle cx='274' cy='288' r='1.6' fill='%23e8c35c' fill-opacity='0.58'/%3E%3Ccircle cx='92' cy='343' r='1.6' fill='%23fff' fill-opacity='0.42'/%3E%3Ccircle cx='165' cy='182' r='1.1' fill='%23e8c35c' fill-opacity='0.43'/%3E%3Ccircle cx='306' cy='74' r='0.8' fill='%23e8c35c' fill-opacity='0.51'/%3E%3Ccircle cx='389' cy='46' r='1.1' fill='%23fff' fill-opacity='0.71'/%3E%3Ccircle cx='172' cy='102' r='1.3' fill='%23e8c35c' fill-opacity='0.54'/%3E%3Ccircle cx='1' cy='128' r='1.3' fill='%23fff' fill-opacity='0.45'/%3E%3Ccircle cx='268' cy='229' r='1.1' fill='%23fff' fill-opacity='0.39'/%3E%3Ccircle cx='131' cy='263' r='0.7' fill='%23fff' fill-opacity='0.69'/%3E%3Ccircle cx='153' cy='357' r='1.3' fill='%23fff' fill-opacity='0.4'/%3E%3C/svg%3E") 0 0 / 420px 360px,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='290' height='470'%3E%3Ccircle cx='268' cy='446' r='0.9' fill='%23e8c35c' fill-opacity='0.4'/%3E%3Ccircle cx='172' cy='199' r='1.0' fill='%23e8c35c' fill-opacity='0.4'/%3E%3Ccircle cx='154' cy='61' r='0.9' fill='%23fff' fill-opacity='0.6'/%3E%3Ccircle cx='56' cy='209' r='1.6' fill='%23e8c35c' fill-opacity='0.61'/%3E%3Ccircle cx='149' cy='345' r='1.6' fill='%23e8c35c' fill-opacity='0.52'/%3E%3Ccircle cx='227' cy='277' r='1.6' fill='%23fff' fill-opacity='0.79'/%3E%3Ccircle cx='282' cy='171' r='0.8' fill='%23e8c35c' fill-opacity='0.66'/%3E%3Ccircle cx='237' cy='92' r='1.1' fill='%23e8c35c' fill-opacity='0.41'/%3E%3Ccircle cx='33' cy='46' r='1.1' fill='%23e8c35c' fill-opacity='0.79'/%3E%3Ccircle cx='158' cy='432' r='1.1' fill='%23e8c35c' fill-opacity='0.73'/%3E%3Ccircle cx='31' cy='297' r='1.3' fill='%23fff' fill-opacity='0.57'/%3E%3Ccircle cx='74' cy='131' r='1.1' fill='%23fff' fill-opacity='0.45'/%3E%3Ccircle cx='77' cy='401' r='1.0' fill='%23e8c35c' fill-opacity='0.55'/%3E%3Ccircle cx='235' cy='357' r='1.1' fill='%23c9beff' fill-opacity='0.52'/%3E%3Ccircle cx='103' cy='274' r='1.0' fill='%23e8c35c' fill-opacity='0.68'/%3E%3Ccircle cx='94' cy='3' r='1.1' fill='%23c9beff' fill-opacity='0.69'/%3E%3C/svg%3E") 37px 91px / 290px 470px,
        linear-gradient(160deg, #282465, #16143b);
    position: relative;
    isolation: isolate;
    color: var(--jw-ink);
    color-scheme: light;
    font: 400 18px/1.6 var(--jw-display);
    font-optical-sizing: auto;
    overflow: clip;
    padding-bottom: 22px;
}

.jw-page *,
.jw-page *::before,
.jw-page *::after { box-sizing: border-box; }
.jw-page :where(h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul) { margin: 0; }
.jw-page :where(ul, ol)[role="list"] { padding: 0; list-style: none; }
.jw-page a { color: inherit; text-decoration: none; }
.jw-page :where(button, input, summary) { font: 600 16px/1.3 var(--jw-display); color: inherit; }
.jw-page :where(button, summary) { cursor: pointer; }
.jw-page button:disabled { opacity: .55; cursor: default; }
.jw-page [hidden] { display: none !important; }
.jw-page :where(a, button, input, summary):focus-visible { outline: 3px solid var(--jw-periwinkle); outline-offset: 4px; }
.jw-page :where(section, [id]) { scroll-margin-top: 90px; }
.jw-container { position: relative; width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.jw-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.jw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.jw-deco { position: absolute; pointer-events: none; user-select: none; height: auto; }

.jw-page h2 {
    font: 700 clamp(34px, 4.4vw, 58px)/1.05 var(--jw-display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    letter-spacing: -.01em;
    text-wrap: balance;
}
.jw-page h2 > span { color: var(--jw-berry); font-style: italic; }
.jw-kicker {
    display: inline-block;
    margin-bottom: 6px !important;
    color: var(--jw-berry);
    font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--jw-hand);
    transform: rotate(-2deg);
    transform-origin: left center;
}
.jw-section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.jw-section-heading { margin-bottom: clamp(28px, 4vw, 48px); }
.jw-section-heading--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }

/* Shared paper bits */
.jw-tape {
    position: absolute;
    z-index: 3;
    width: 190px;
    height: auto;
    pointer-events: none;
    opacity: .92;
    mix-blend-mode: multiply;
}
.jw-tape--berry { filter: hue-rotate(118deg) saturate(1.15) brightness(1.05); }
.jw-tape--pine { filter: hue-rotate(-112deg) saturate(.75) brightness(1.05); }
.jw-photo {
    position: relative;
    display: block;
    padding: 12px 12px 14px;
    background: #fffdf8;
    box-shadow: 0 1px 2px rgb(37 33 79 / .18), 0 18px 34px -18px rgb(37 33 79 / .55);
}
.jw-photo img:not(.jw-tape) { display: block; width: 100%; height: auto; }

/* Buttons */
.jw-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 12px 30px;
    border: 0;
    border-radius: 999px;
    background: var(--jw-berry);
    color: #fff6ea !important;
    font: 650 17px/1.2 var(--jw-display);
    letter-spacing: .01em;
    text-align: center;
    box-shadow: 0 4px 0 var(--jw-berry-dark), 0 14px 22px -14px rgb(111 21 39 / .8);
    transition: transform 160ms cubic-bezier(.22, 1, .36, 1), box-shadow 160ms cubic-bezier(.22, 1, .36, 1), background-color 160ms;
}
.jw-button::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1.5px dashed rgb(255 240 220 / .55);
    border-radius: inherit;
    pointer-events: none;
}
.jw-button:hover:not(:disabled) { background: #b52f44; transform: translateY(-1px); box-shadow: 0 5px 0 var(--jw-berry-dark), 0 18px 26px -14px rgb(111 21 39 / .8); }
.jw-button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--jw-berry-dark); }
.jw-button--paper {
    background: var(--jw-card);
    color: var(--jw-ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--jw-ink), 0 4px 0 var(--jw-ink);
}
.jw-button--paper::after { border-color: rgb(37 33 79 / .25); }
.jw-button--paper:hover:not(:disabled) { background: #fff; box-shadow: inset 0 0 0 1.5px var(--jw-ink), 0 5px 0 var(--jw-ink); }
.jw-button--paper:active:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--jw-ink), 0 1px 0 var(--jw-ink); }
.jw-button svg { width: 20px; height: 20px; }
.jw-text-button {
    min-height: 40px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--jw-berry);
    font-size: 15px !important;
    text-decoration: underline wavy;
    text-decoration-color: var(--jw-gold);
    text-underline-offset: 5px;
}
.jw-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 600;
    text-decoration: underline wavy;
    text-decoration-color: var(--jw-gold);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}
.jw-link:hover { color: var(--jw-berry); }
.jw-link .jw-icon { width: 18px; height: 18px; color: var(--jw-berry); }

/* Hero */
.jw-hero-shell { position: relative; padding: 22px 0 24px; }
.jw-hero-shell > .jw-container { z-index: 1; }
.jw-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 22px/1 var(--jw-hand); }
.jw-back:hover { color: var(--jw-berry); }
.jw-back .jw-icon { width: 18px; height: 18px; }
.jw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
    padding: 18px 0 56px;
}
.jw-hero--text-only { grid-template-columns: minmax(0, 780px); }
.jw-hero-copy, .jw-hero-visual { min-width: 0; }
.jw-hero-copy { position: relative; z-index: 2; }
.jw-lettering { margin-left: -1.5% !important; }
.jw-lettering img {
    display: block;
    width: 100%;
    max-width: 660px;
    height: auto;
    transform: rotate(-1.4deg);
    filter: drop-shadow(0 12px 14px rgb(29 26 72 / .28));
}
.jw-creator { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.jw-creator-logo { display: block; flex: 0 0 auto; width: clamp(190px, 21vw, 270px); margin: -10px 0 -10px -14px; }
.jw-creator-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 8px rgb(29 26 72 / .25)); }
.jw-creator .dh-product-gem { margin: 0; }
.jw-creator .dh-product-gem--compact .dh-product-gem-link { padding: 8px 14px 8px 8px; gap: 8px; }
.jw-creator .dh-product-gem--compact .dh-product-gem-art { width: 32px; height: 32px; }
.jw-summary { max-width: 34em; margin-top: 22px !important; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--jw-ink-soft); text-wrap: pretty; }

.jw-price-tag {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-top: 26px;
    padding: 12px 26px 12px 50px;
    background: var(--jw-kraft);
    clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 50%);
}
.jw-price-tag::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--jw-paper);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / .35);
    transform: translateY(-50%);
}
.jw-price-tag strong { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.1; font-weight: 750; }
.jw-price-currency, .jw-price-note { font-size: 14px; font-weight: 600; color: var(--jw-ink-soft); }
.jw-price-tag s { color: var(--jw-ink-soft); font-size: 18px; }
.jw-sale { padding: 2px 10px; border-radius: 999px; background: var(--jw-berry); color: #fff6ea; font-size: 13px; font-weight: 700; }
[data-bundle-savings-anchor]:empty { display: none; }
[data-bundle-savings-anchor] { margin-top: 12px; font-size: 15px; }

.jw-pwyw { margin-top: 22px; }
.jw-presets { display: flex; flex-wrap: wrap; gap: 10px; }
.jw-preset {
    display: flex;
    flex: 1 1 110px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    min-height: 56px;
    padding: 10px 14px;
    border: 1.5px dashed var(--jw-ink-soft);
    border-radius: 10px;
    background: var(--jw-card);
    text-align: left;
}
.jw-preset span { font-size: 13px; font-weight: 500; color: var(--jw-ink-soft); }
.jw-preset strong { font-size: 18px; }
.jw-preset:hover { border-style: solid; }
.jw-preset[aria-pressed="true"] { border: 2px solid var(--jw-berry); background: #fdeeea; box-shadow: 0 3px 0 var(--jw-berry); }
.jw-preset[aria-pressed="true"] span { color: var(--jw-berry); }
.jw-custom-price { margin: 8px 0 4px; }
.jw-custom-price label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.jw-custom-price > div { display: flex; gap: 12px; }
.jw-custom-price input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 10px 16px;
    border: 1.5px solid var(--jw-ink);
    border-radius: 12px;
    background: var(--jw-card);
    font-size: 18px;
}
.jw-custom-price .jw-button { flex: 0 0 auto; min-height: 52px; padding-inline: 22px; }

.jw-actions { display: flex; align-items: stretch; gap: 14px; margin-top: 26px; }
.jw-actions > .jw-button { flex: 0 1 300px; }
.jw-owned-actions { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 12px; }
.jw-owned-actions .jw-button { flex: 1 1 200px; }
.jw-owned-actions svg { width: 20px; height: 20px; }
.jw-wishlist {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1.5px solid var(--jw-ink);
    border-radius: 50%;
    background: var(--jw-card);
    color: var(--jw-ink);
    box-shadow: 0 4px 0 var(--jw-ink);
    transition: transform 160ms cubic-bezier(.22, 1, .36, 1), color 160ms;
}
.jw-wishlist:hover { color: var(--jw-berry); transform: translateY(-1px) rotate(-6deg); }
.jw-wishlist[aria-pressed="true"] { color: var(--jw-berry); }
.jw-wishlist[aria-pressed="true"] .jw-icon { fill: currentColor; }
.jw-wishlist .jw-icon { width: 22px; height: 22px; }

.jw-community {
    max-width: 560px;
    margin-top: 26px;
    padding: 16px 18px;
    border: 2px dashed rgb(37 33 79 / .35);
    border-radius: 14px;
    background: rgb(255 250 242 / .8);
    font-size: 15px;
}
.jw-community-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.jw-community-heading .jw-icon { color: var(--jw-berry); }
.jw-community-heading > span { margin-left: auto; color: var(--jw-ink-soft); font-size: 14px; }
.jw-community p { margin: 8px 0 12px !important; color: var(--jw-ink-soft); }
.jw-community .jw-button { min-height: 46px; padding: 10px 20px; font-size: 15px; }
.jw-status { margin-top: 12px !important; color: var(--jw-pine); font-size: 15px; font-weight: 600; }
.jw-status:empty { display: none; }
.jw-quick-links { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 18px; }

.jw-hero-visual { position: relative; padding: 34px 6% 70px; }
.jw-cover {
    padding: 14px 14px 46px;
    transform: rotate(2.4deg);
    transition: transform 300ms cubic-bezier(.22, 1, .36, 1);
}
.jw-cover:hover { transform: rotate(.8deg) scale(1.01); }
.jw-cover .jw-tape { top: -14px; left: -62px; width: 190px; transform: rotate(-40deg); }
.jw-cover .jw-tape + .jw-tape { top: auto; left: auto; right: -58px; bottom: 6px; width: 170px; transform: rotate(-38deg); }
.jw-snapshots { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: -26px; }
.jw-snapshot { width: clamp(76px, 8vw, 104px); padding: 6px 6px 18px; transition: transform 200ms cubic-bezier(.22, 1, .36, 1); }
.jw-snapshot img { aspect-ratio: 1; object-fit: cover; }
.jw-snapshot:nth-child(3n + 1) { transform: rotate(-6deg); }
.jw-snapshot:nth-child(3n + 2) { transform: rotate(4deg) translateY(6px); }
.jw-snapshot:nth-child(3n) { transform: rotate(-2deg); }
.jw-snapshot:hover { z-index: 1; transform: rotate(0) translateY(-6px) scale(1.06); }
.jw-deco--mouse-star { bottom: -6px; left: -18%; z-index: 3; width: min(300px, 70%); }
.jw-deco--hero-foil { top: 140px; left: max(-46px, calc(50% - 720px)); width: 120px; transform: rotate(14deg); }
.jw-deco--hero-glitter { bottom: 40px; right: max(-30px, calc(50% - 700px)); width: 96px; transform: rotate(-10deg); }
.jw-deco--hero-small { top: 34px; left: 44%; width: 42px; transform: rotate(-12deg); }

.jw-pilot { position: absolute; top: 0; right: max(12px, calc(50% - 640px)); z-index: 2; width: 360px; aspect-ratio: 884 / 413; pointer-events: none; }
.jw-pilot img { position: absolute; inset: 0; width: 100%; height: auto; }
.jw-pilot-trail { position: absolute; left: -150px; top: 46%; width: 300px; height: 90px; color: var(--jw-gold); }

/* Admin tools */
.jw-admin { padding-block: clamp(40px, 5vw, 64px) 24px; }
.jw-admin-card {
    position: relative;
    padding: 34px clamp(20px, 3vw, 36px) 28px;
    border-radius: 6px;
    background: #fdf6dc;
    box-shadow: 0 16px 30px -22px rgb(37 33 79 / .6);
    font-size: 16px;
}
.jw-admin-card .jw-tape { top: -20px; left: 36px; width: 150px; transform: rotate(-5deg); }
.jw-admin-card h2 { font-size: clamp(26px, 2.6vw, 34px); }
.jw-admin-card h3 { margin-top: 26px; font-size: 20px; }
.jw-admin-card #dh-product-sales-host > section { background: var(--jw-card); }
.jw-admin-downloads { display: grid; gap: 12px; margin-top: 12px !important; }
.jw-admin-downloads li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.jw-admin-downloads a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--jw-berry); font-weight: 650; overflow-wrap: anywhere; }
.jw-admin-downloads a:hover { text-decoration: underline; }
.jw-admin-meta { color: var(--jw-ink-soft); font-size: 14px; }
.jw-admin-downloads .jw-text-button { margin-left: auto; }

/* Letter */
.jw-letter {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 68px) clamp(24px, 6vw, 84px) clamp(48px, 6vw, 76px) clamp(36px, 8vw, 110px);
    border-radius: 3px;
    background:
        linear-gradient(90deg, transparent clamp(22px, 5vw, 72px), rgb(163 40 59 / .35) 0 calc(clamp(22px, 5vw, 72px) + 2px), transparent 0),
        repeating-linear-gradient(transparent 0 31px, rgb(93 96 195 / .09) 31px 32px),
        var(--jw-card);
    box-shadow: 0 1px 2px rgb(37 33 79 / .15), 0 30px 50px -30px rgb(37 33 79 / .55);
    transform: rotate(-.6deg);
}
.jw-tape--left { top: -26px; left: -42px; width: 180px; transform: rotate(-30deg); }
.jw-tape--right { top: -20px; right: -40px; width: 170px; transform: rotate(28deg) scaleX(-1); }
.jw-letter h2 { margin-bottom: clamp(22px, 3vw, 32px); }
.jw-letter-stamp { position: absolute; right: -34px; bottom: -40px; width: clamp(84px, 10vw, 124px); height: auto; transform: rotate(14deg); filter: drop-shadow(0 6px 8px rgb(0 0 0 / .18)); }
.jw-tracks { position: absolute; left: -10px; top: 0; bottom: 0; width: 120px; pointer-events: none; }
.jw-tracks img { position: absolute; width: 44px; height: auto; opacity: .12; }
.jw-tracks img:nth-child(1) { top: 4%; left: 8px; transform: rotate(12deg); }
.jw-tracks img:nth-child(2) { top: 22%; left: 58px; transform: rotate(4deg); }
.jw-tracks img:nth-child(3) { top: 42%; left: 14px; transform: rotate(-6deg); }
.jw-tracks img:nth-child(4) { top: 62%; left: 60px; transform: rotate(-14deg); }

.jw-prose { overflow-wrap: anywhere; font-size: 18px; line-height: 1.75; text-wrap: pretty; }
.jw-prose > * + * { margin-top: 18px !important; }
.jw-prose p:empty { display: none; }
.jw-prose :where(h3, h4, h5, h6) {
    margin-top: 36px !important;
    color: var(--jw-berry);
    font: 700 clamp(22px, 2.2vw, 28px)/1.25 var(--jw-display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    break-after: avoid;
}
.jw-prose > :first-child { margin-top: 0 !important; }
.jw-prose .jw-star-heading { display: flex; align-items: center; gap: 12px; }
.jw-prose .jw-star-heading::before {
    content: "";
    flex: 0 0 28px;
    height: 28px;
    background: url("../images/jinglewood/bard-and-raven_Star-Small.png") center / contain no-repeat;
    transform: rotate(-10deg);
}
.jw-prose a { color: var(--jw-berry); text-decoration: underline wavy; text-decoration-color: var(--jw-gold); text-underline-offset: 5px; }
.jw-prose :where(ul, ol) { padding-left: 30px; }
.jw-prose li { padding-left: 6px; }
.jw-prose li + li { margin-top: 6px; }
.jw-prose ul,
.jw-prose ol > li[data-list="bullet"] { list-style: none; }
.jw-prose ul > li,
.jw-prose ol > li[data-list="bullet"] { position: relative; }
.jw-prose ul > li::before,
.jw-prose ol > li[data-list="bullet"]::before {
    content: "";
    position: absolute;
    left: -24px;
    top: .42em;
    width: 15px;
    height: 15px;
    background: url("../images/jinglewood/bard-and-raven_Star-Small.png") center / contain no-repeat;
}
.jw-prose ol { list-style: decimal; }
.jw-prose ol > li::marker { color: var(--jw-berry); font-weight: 700; }
.jw-prose .ql-ui { display: none; }
.jw-prose :where(img, video) { max-width: 100%; height: auto; }
.jw-prose iframe { max-width: 100%; }
.jw-prose :where(table, pre) { display: block; max-width: 100%; overflow-x: auto; }
.jw-prose blockquote { padding-left: 18px; border-left: 3px solid var(--jw-gold); font-style: italic; }
.jw-prose strong { font-weight: 700; }

/* What's included */
.jw-inside-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.jw-stamps { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 36px !important; }
.jw-stamp {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    width: 136px;
    min-height: 150px;
    padding: 20px 14px;
    background: radial-gradient(circle at 0 0, var(--jw-paper) 4px, #fffdf8 4.6px) -6px -6px / 12px 12px round;
    filter: drop-shadow(0 6px 8px rgb(37 33 79 / .18));
    text-align: center;
}
.jw-stamp::before { content: ""; position: absolute; inset: 8px; background: #efe9ff; box-shadow: inset 0 0 0 1.5px rgb(93 96 195 / .35); }
.jw-stamp:nth-child(3n + 2)::before { background: #fbe4e1; box-shadow: inset 0 0 0 1.5px rgb(163 40 59 / .3); }
.jw-stamp:nth-child(3n)::before { background: #e3efe6; box-shadow: inset 0 0 0 1.5px rgb(44 86 65 / .3); }
.jw-stamp:nth-child(odd) { transform: rotate(-3deg); }
.jw-stamp:nth-child(even) { transform: rotate(2.5deg) translateY(8px); }
.jw-stamp dt, .jw-stamp dd { position: relative; }
.jw-stamp dd { color: var(--jw-berry); font: 750 46px/1 var(--jw-display); font-variation-settings: "SOFT" 100, "WONK" 1; }
.jw-stamp dt { margin-top: 6px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.jw-tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.jw-tags:has(> :only-child) { max-width: 640px; }
.jw-tags > :only-child { padding: 30px 34px 32px 66px; }
.jw-tags > :only-child h3 { font-size: clamp(24px, 2.4vw, 30px); }
.jw-tags > :only-child p { font-size: 18px; }
.jw-tag {
    position: relative;
    padding: 22px 24px 24px 54px;
    background: var(--jw-kraft) url("../images/jinglewood/bard-and-raven_textured-paper.png") center / 300px auto;
    background-blend-mode: multiply;
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}
.jw-tag::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--jw-paper);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / .4), 0 0 0 3px rgb(255 250 242 / .55);
    transform: translateY(-50%);
}
.jw-tag:nth-child(odd) { transform: rotate(-1.2deg); }
.jw-tag:nth-child(even) { transform: rotate(1deg); }
.jw-tag h3 { font: 700 21px/1.25 var(--jw-display); font-variation-settings: "SOFT" 100; }
.jw-tag p { margin-top: 8px !important; color: #3d3962; font-size: 16px; line-height: 1.55; }

.jw-peeks { position: relative; min-height: 400px; }
.jw-sticker { position: absolute; margin: 0; text-align: center; }
.jw-sticker img {
    display: block;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
        drop-shadow(0 12px 14px rgb(37 33 79 / .25));
    transition: transform 300ms cubic-bezier(.34, 1.3, .64, 1);
}
.jw-sticker:hover img { transform: rotate(-4deg) scale(1.04); }
.jw-sticker--hulk { top: 0; left: 0; width: 58%; transform: rotate(-6deg); }
.jw-sticker--hammer { top: 150px; right: 0; width: 42%; transform: rotate(12deg); }

/* Video */
.jw-video-section h2 { margin-bottom: 32px; text-align: center; }
.jw-video { max-width: 980px; margin: 0 auto; padding: 14px; transform: rotate(-.8deg); }
.jw-video .jw-tape { top: -26px; left: 50%; width: 200px; transform: translateX(-50%) rotate(3deg); }
.jw-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }

/* Creators and fine print */
.jw-people { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px !important; }
.jw-person {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    padding: 12px 22px 12px 12px;
    border-radius: 14px;
    background: var(--jw-card);
    box-shadow: 0 10px 22px -16px rgb(37 33 79 / .6);
    transition: transform 200ms cubic-bezier(.22, 1, .36, 1);
}
.jw-people li:nth-child(odd) .jw-person { transform: rotate(-1.2deg); }
.jw-people li:nth-child(even) .jw-person { transform: rotate(1deg); }
.jw-people .jw-person:hover { transform: rotate(0) translateY(-3px); }
.jw-person img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: #ece2d5; }
.jw-person strong { display: block; font-size: 18px; }
.jw-person small { display: block; color: var(--jw-berry); font: 700 20px/1.1 var(--jw-hand); }
.jw-makers-inner { position: relative; }
.jw-deco--makers-foil, .jw-deco--makers-glitter { display: none; }

/* Desktop: centre the makers and give a lone creator the spotlight. */
@media (min-width: 861px) {
    .jw-makers-inner { max-width: 760px; margin: 0 auto; text-align: center; }
    .jw-makers-inner::before {
        content: "";
        position: absolute;
        inset: -60px -120px -40px;
        z-index: -1;
        background: radial-gradient(closest-side, rgb(255 244 214 / .85), rgb(255 244 214 / 0));
        pointer-events: none;
    }
    .jw-makers .jw-kicker { transform-origin: center; }
    .jw-people { justify-content: center; }
    .jw-deco--makers-foil { display: block; top: -10px; left: 2%; width: 120px; transform: rotate(-14deg); }
    .jw-deco--makers-glitter { display: block; right: 4%; bottom: 10px; width: 96px; transform: rotate(18deg); }

    .jw-people:has(> li:only-child) { margin-top: 40px !important; }
    .jw-people > li:only-child .jw-person {
        position: relative;
        flex-direction: column;
        gap: 14px;
        min-width: 0;
        width: 280px;
        padding: 22px 22px 26px;
        border-radius: 6px;
        background: #fffdf8;
        box-shadow: 0 1px 2px rgb(37 33 79 / .18), 0 26px 44px -22px rgb(37 33 79 / .6);
        text-align: center;
        transform: rotate(-1.5deg);
    }
    .jw-people > li:only-child .jw-person::before {
        content: "";
        position: absolute;
        top: -22px;
        left: 50%;
        width: 150px;
        height: 44px;
        background: url("../images/jinglewood/bard-and-raven_washitape-1.png") center / contain no-repeat;
        transform: translateX(-50%) rotate(-4deg);
        opacity: .92;
    }
    .jw-people > li:only-child .jw-person:hover { transform: rotate(0) translateY(-4px); }
    .jw-people > li:only-child .jw-person img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; }
    .jw-people > li:only-child .jw-person strong { font-size: 24px; }
    .jw-people > li:only-child .jw-person small { font-size: 24px; }
}

/* Reviews */
.jw-review-summary { margin-top: 10px !important; color: var(--jw-ink-soft); font-size: 16px; }
.jw-review-summary strong { color: var(--jw-ink); }
.jw-review-grid { columns: 3 300px; column-gap: 26px; }
.jw-review {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 26px;
    padding: 30px 24px 22px;
    border-radius: 3px;
    background: var(--jw-card);
    box-shadow: 0 1px 2px rgb(37 33 79 / .12), 0 16px 26px -20px rgb(37 33 79 / .55);
    break-inside: avoid;
    overflow-wrap: anywhere;
}
.jw-review::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e05a6c, var(--jw-berry) 60%, var(--jw-berry-dark));
    box-shadow: 0 3px 3px rgb(0 0 0 / .25);
    transform: translateX(-50%);
}
.jw-review:nth-child(3n + 1) { transform: rotate(-1deg); }
.jw-review:nth-child(3n + 2) { transform: rotate(.8deg); }
.jw-review:nth-child(4n) { background: #f0eeff; }
.jw-review-stars { display: flex; gap: 2px; color: var(--jw-gold); }
.jw-review-stars .jw-icon { width: 18px; height: 18px; }
.jw-review-stars .is-empty { color: #d9cfbd; }
.jw-review blockquote { margin-top: 12px; font-size: 17px; line-height: 1.6; white-space: pre-line; }
.jw-review-empty { margin-top: 12px !important; color: var(--jw-ink-soft); font-style: italic; }
.jw-review footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 14px; color: var(--jw-ink-soft); font-size: 14px; }
.jw-review footer strong { color: var(--jw-berry); font: 700 23px/1.1 var(--jw-hand); }
.jw-more-reviews { margin-top: 8px; }
.jw-more-reviews summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 22px; font-weight: 650; list-style: none; text-decoration: underline wavy; text-decoration-color: var(--jw-gold); text-underline-offset: 6px; }
.jw-more-reviews summary::-webkit-details-marker { display: none; }
.jw-more-reviews summary .jw-icon { transition: transform 200ms; }
.jw-more-reviews[open] summary .jw-icon { transform: rotate(90deg); }

/* More from the creator */
.jw-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.jw-related { display: block; }
.jw-related-image { padding: 10px 10px 12px; transition: transform 250ms cubic-bezier(.22, 1, .36, 1); }
.jw-more-grid li:nth-child(1) .jw-related-image { transform: rotate(-2deg); }
.jw-more-grid li:nth-child(2) .jw-related-image { transform: rotate(1.5deg); }
.jw-more-grid li:nth-child(3) .jw-related-image { transform: rotate(-1deg); }
.jw-related:hover .jw-related-image { transform: rotate(0) translateY(-4px); }
.jw-related-image img { aspect-ratio: 4 / 3; object-fit: cover; background: #ece2d5; }
.jw-related-image:empty { aspect-ratio: 4 / 3; background: #ece2d5; }
.jw-related h3 { margin-top: 16px; font: 650 18px/1.35 var(--jw-display); }
.jw-related:hover h3 { color: var(--jw-berry); }
.jw-related p { margin-top: 4px !important; color: var(--jw-ink-soft); font-size: 15px; }

/* Final call to action */
.jw-final {
    --jw-torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12l18 4 22-7 19 5 26-9 17 8 24-4 21 6 25-10 20 7 23-3 18 6 27-8 21 5 16-6 25 9 22-7 19 4 24-8 20 7 26-5 18 6 23-9 21 8 17-4 25 6 19-7 24 5 20-3V22Z' fill='%231d1a48'/%3E%3C/svg%3E");
    position: relative;
    margin-top: clamp(40px, 6vw, 72px);
    padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 100px);
    background: var(--jw-glitter);
    color: #fff6ea;
    text-align: center;
}
.jw-final::before,
.jw-final::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: var(--jw-torn) 0 0 / 600px 22px repeat-x; }
.jw-final::before { top: -21px; }
.jw-final::after { bottom: -21px; transform: scaleY(-1); }
.jw-final-mice { display: block; width: min(340px, 80%); height: auto; margin: 0 auto -10px; }
.jw-final h2 { color: var(--jw-gold-light); }
.jw-page .jw-final h2 > span { display: block; color: var(--jw-lilac); }
.jw-final-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: 32px; }
.jw-final-actions .jw-button { min-width: 260px; }
.jw-final-actions .jw-owned-actions { flex: 0 1 560px; }
.jw-final-actions p { display: grid; text-align: left; }
.jw-final-actions p strong { font-size: 26px; line-height: 1.1; }
.jw-final-actions p span { color: var(--jw-lilac); font-size: 15px; }
.jw-final .jw-button--paper { box-shadow: inset 0 0 0 1.5px var(--jw-ink), 0 4px 0 #0c0a26; }

/* Image dialog */
.jw-dialog {
    position: fixed;
    inset: 0;
    width: min(1300px, calc(100% - 48px));
    max-width: none;
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--jw-card);
    color: var(--jw-ink);
    box-shadow: 0 30px 100px rgb(0 0 0 / .5);
    font-family: var(--jw-display);
}
.jw-dialog[open] { display: flex; flex-direction: column; }
.jw-dialog::backdrop { background: rgb(22 20 59 / .85); }
.jw-dialog button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--jw-ink); border-radius: 999px; background: var(--jw-card); color: var(--jw-ink); font: 600 15px/1.2 var(--jw-display); cursor: pointer; }
.jw-dialog button:hover { background: #fff; }
.jw-dialog .dngn-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 8px 14px 8px 20px; border-bottom: 1px solid rgb(37 33 79 / .15); }
.jw-dialog .dngn-dialog-bar p { font-size: 15px; }
.jw-dialog .dngn-dialog-image { display: flex; align-items: center; justify-content: center; height: calc(100dvh - 200px); min-height: 0; padding: 16px; overflow: auto; background: #efe5d6; }
.jw-dialog .dngn-dialog-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.jw-dialog .dngn-dialog-image.is-zoomed { display: block; }
.jw-dialog .dngn-dialog-image.is-zoomed img { width: var(--dngn-image-width); max-width: none; max-height: none; }
.jw-dialog .dngn-dialog-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px; border-top: 1px solid rgb(37 33 79 / .15); font-size: 15px; }

/* Shared suggestions block on the same paper */
#primary:has(.jw-page) .hod-product-suggestions > h2 { color: var(--jw-ink, #25214f); font-family: "Fraunces", Georgia, serif; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
    .jw-pilot img { animation: jw-float 6s ease-in-out infinite; }
    .jw-deco--hero-foil { animation: jw-twinkle 7s ease-in-out infinite; }
}
@keyframes jw-float {
    0%, 100% { transform: translate(0, 0) rotate(-1.5deg); }
    50% { transform: translate(-8px, -10px) rotate(1.5deg); }
}
@keyframes jw-twinkle {
    0%, 100% { transform: rotate(14deg) scale(1); }
    50% { transform: rotate(24deg) scale(1.06); }
}

@media (max-width: 1100px) {
    .jw-pilot { width: 280px; }
    .jw-deco--mouse-star { left: -8%; }
    .jw-inside-layout { grid-template-columns: minmax(0, 1fr); }
    .jw-peeks { display: flex; justify-content: center; gap: 48px; min-height: 0; padding-top: 12px; }
    .jw-sticker { position: relative; inset: auto; }
    .jw-sticker--hulk { width: 240px; }
    .jw-sticker--hammer { width: 170px; margin-top: 60px; }
    .jw-tracks { display: none; }
}

@media (max-width: 860px) {
    .jw-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; }
    .jw-hero-visual { width: min(100%, 520px); margin: 0 auto; padding: 30px 8% 64px; }
    .jw-pilot { top: 6px; width: 200px; right: 8px; }
    .jw-pilot-trail { display: none; }
    .jw-deco--hero-foil, .jw-deco--hero-glitter, .jw-deco--hero-small { display: none; }
    .jw-more-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
    .jw-letter-stamp { right: -10px; }
    .jw-tape--left { left: -18px; }
    .jw-tape--right { right: -18px; }
}

@media (max-width: 560px) {
    .jw-page { font-size: 17px; }
    .jw-container { width: calc(100% - 32px); }
    .jw-back { font-size: 20px; }
    .jw-actions { gap: 10px; }
    .jw-actions > .jw-button { flex: 1 1 auto; padding-inline: 18px; }
    .jw-custom-price > div { flex-direction: column; }
    .jw-peeks { gap: 20px; }
    .jw-sticker--hulk { width: 52%; }
    .jw-sticker--hammer { width: 36%; }
    .jw-stamp { width: calc(50% - 9px); }
    .jw-tags > :only-child { padding: 22px 20px 24px 50px; }
    .jw-tags > :only-child p { font-size: 16px; }
    .jw-person { min-width: 0; width: 100%; }
    .jw-final-actions .jw-button { width: 100%; min-width: 0; }
    .jw-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
    .jw-dialog .dngn-dialog-image { height: calc(100dvh - 170px); padding: 8px; }
    .jw-dialog .dngn-dialog-controls { gap: 8px; padding: 10px 8px; }
}

