@font-face {
    font-family: "Road Rage";
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/road-rage.woff2) format("woff2");
}
@font-face {
    font-family: "Sedgwick Ave Display";
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/sedgwick-ave-display.woff2) format("woff2");
}
.hero-brush {
    font-family: var(--hero-font, var(--font-script));
    font-size: var(--hero-size, 100%);
    overflow-wrap: anywhere;
    max-width: 100%;
    box-sizing: border-box;
}
.hero-brush.brush-primary { --brush-color: var(--primary); }
.hero-brush.brush-accent {
    --brush-color: var(--accent);
    max-width: calc(100% - .4em);
}
.hero-brush.brush-accent[data-brush="none"] { color: #fff; }
.hero-brush[data-font="Permanent Marker"] { --hero-font: "Permanent Marker", cursive; }
.hero-brush[data-font="Road Rage"] { --hero-font: "Road Rage", cursive; }
.hero-brush[data-font="Sedgwick Ave Display"] { --hero-font: "Sedgwick Ave Display", cursive; }

.hero-brush[data-brush="dry"],
.hero-brush[data-brush="broad"],
.hero-brush[data-brush="auto"]:is([data-font="Road Rage"], [data-font="Sedgwick Ave Display"]),
.hero-brush[data-brush="none"] {
    position: relative;
    isolation: isolate;
    background: transparent;
    clip-path: none;
}
.hero-brush[data-brush="dry"],
.hero-brush[data-brush="auto"][data-font="Road Rage"] {
    --hero-brush-mask: url(../img/hero-brush-dry.svg);
}
.hero-brush[data-brush="broad"],
.hero-brush[data-brush="auto"][data-font="Sedgwick Ave Display"] {
    --hero-brush-mask: url(../img/hero-brush-broad.svg);
}
.hero-brush:not([data-brush="none"])::before {
    content: var(--hero-brush-decoration, none);
    position: absolute;
    z-index: -1;
    inset: -.06em 0;
    background: var(--brush-color);
    -webkit-mask: var(--hero-brush-mask) center / 100% 100% no-repeat;
    mask: var(--hero-brush-mask) center / 100% 100% no-repeat;
}
.hero-brush[data-brush="dry"],
.hero-brush[data-brush="broad"],
.hero-brush[data-brush="auto"]:is([data-font="Road Rage"], [data-font="Sedgwick Ave Display"]) {
    --hero-brush-decoration: "";
    padding: .18em .65em .23em;
}
