/* Decorative cut-pattern renderer, independent of page content. */
.lunariska-cut-defs {
    height: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 0;
}

.lunariska-cut-clip {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.lunariska-cut-layer {
    inset: -40px;
    pointer-events: none;
    position: absolute;
}

.lunariska-cut-layer > .lunariska-cut-zone {
    display: block;
    fill: none;
    overflow: hidden;
    position: absolute;
}

.lunariska-cut-pattern {
    color: #71594a;
    opacity: 0.12;
}

[data-lunariska-cut-kind="header"] .lunariska-cut-pattern {
    color: #a2b0c0;
    opacity: 0.2;
}

.lunariska-cut-colored {
    opacity: var(--lunariska-cut-strength, 0.85);
}

.lunariska-cut-outline {
    fill: none;
    stroke: var(--lunariska-cut-color);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2;
    vector-effect: none;
}

.lunariska-cut-fade-band {
    stroke-linecap: butt;
}

.lunariska-cut-tip-rim {
    fill: var(--lunariska-cut-color);
    stroke: none;
}

.lunariska-cut-tip-core {
    fill: #ffffff;
    stroke: none;
}

.lunariska-cut-tip-halo {
    stroke: none;
}

.lunariska-cut-active .lunariska-cut-layer {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .lunariska-cut-point {
        display: none;
    }
}

/* Approved static accents: hero, product story, and receipt margins only.
   Out-of-flow decorations preserve the existing grid, content and photographs.
   No animation, event handlers, or changes to the shared header/footer effect. */
body.home-eastfork-page .ef-hero-copy,
body.home-eastfork-page .ef-palette-copy,
body.product-surface-page .eastfork-story-copy,
.cj-split--receipt > .cj-main {
    isolation: isolate;
    position: relative;
}

body.home-eastfork-page .ef-hero-copy::after,
body.home-eastfork-page .ef-palette-copy::after,
body.product-surface-page .eastfork-story-copy::before,
.cj-split--receipt > .cj-main::before {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

body.home-eastfork-page .ef-hero-copy::after,
body.home-eastfork-page .ef-palette-copy::after {
    background-image: url("../images/lunariska/collector-cut-accents-20261021.svg#hero");
    -webkit-mask-image: linear-gradient(90deg, transparent 8%, #0001 38%, #0007 75%, #000d 100%);
    mask-image: linear-gradient(90deg, transparent 8%, #0001 38%, #0007 75%, #000d 100%);
}

body.product-surface-page .eastfork-story-copy::before {
    background-image: url("../images/lunariska/collector-cut-accents-20261021.svg#detail");
    -webkit-mask-image: linear-gradient(90deg, transparent 40%, #0002 65%, #000a 100%);
    mask-image: linear-gradient(90deg, transparent 40%, #0002 65%, #000a 100%);
}

.cj-split--receipt > .cj-main::before {
    background-image: url("../images/lunariska/collector-cut-accents-20261021.svg#thanks");
    -webkit-mask-image: linear-gradient(90deg, #000c, transparent 24%, transparent 76%, #000c);
    mask-image: linear-gradient(90deg, #000c, transparent 24%, transparent 76%, #000c);
}
