/* ==========================================================================
   LOSTNOTE — logo styles
   One look per logo, chosen in Customize → Brand & colours → Logo & site style.
   a = Heavy · b = Broadcast · c = Overdrive
   --ln-mark (the round "O" mark) is set from PHP for the active style.
   ========================================================================== */

/* ---------- Shared: the "O" mark ---------- */
.ln-mark { display: block; height: auto; }
.ln-logo--header { display: flex; align-items: center; justify-content: center; }
.ln-logo__mark { display: none; width: 46px; }
/* Sticky header shrinks to the mark once you scroll. */
.ln-has-mark .ln-header.is-scrolled .ln-logo--header .ln-logo__img { display: none; }
.ln-has-mark .ln-header.is-scrolled .ln-logo--header .ln-logo__mark { display: block; }
.ln-logo--header:hover .ln-logo__mark { animation: ln-beat .9s var(--ln-ease); }
@keyframes ln-beat { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.14); } 34% { transform: scale(.97); } 52% { transform: scale(1.08); } }

.ln-totop { display: inline-flex; align-items: center; gap: .8em; }
.ln-totop__mark { width: 30px; opacity: .85; transition: transform .3s var(--ln-ease), opacity .2s; }
.ln-totop:hover .ln-totop__mark { transform: translateY(-3px); opacity: 1; }
.ln-404__mark { width: clamp(96px, 14vw, 150px); margin-bottom: 1.6rem; opacity: .9; animation: ln-flicker 4s steps(1) infinite; }
@keyframes ln-flicker { 0%, 100% { opacity: .9; } 46% { opacity: .9; } 47% { opacity: .25; } 49% { opacity: .9; } 81% { opacity: .5; } 82% { opacity: .9; } }

/* Section labels start with a tiny mark, and section headings end on a pulse line. */
.ln-eyebrow::before {
	content: ""; flex: none; width: 1.5em; aspect-ratio: 1.22;
	background: currentColor;
	-webkit-mask: var(--ln-mark) center / contain no-repeat; mask: var(--ln-mark) center / contain no-repeat;
}
.ln-head::after, .ln-pagehead .ln-title::after {
	content: ""; display: block; width: min(260px, 60%); height: 22px; margin-top: 18px;
	background: var(--ln-accent);
	-webkit-mask: var(--ln-pulse) left center / 100% 100% no-repeat; mask: var(--ln-pulse) left center / 100% 100% no-repeat;
}
.ln-hero--center .ln-head::after, .ln-footer .ln-head::after { margin-inline: auto; }
:root {
	--ln-pulse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 22' preserveAspectRatio='none'%3E%3Cpath d='M0 11h92l7-5 6 9 8-15 8 21 7-14 5 4h127' fill='none' stroke='%23000' stroke-width='3' stroke-linejoin='miter'/%3E%3C/svg%3E");
}
hr {
	border: 0; height: 22px; margin: 3em 0; background: var(--ln-line-strong);
	-webkit-mask: var(--ln-pulse) center / 100% 100% no-repeat; mask: var(--ln-pulse) center / 100% 100% no-repeat;
}
@media (max-width: 960px) {
	.ln-logo__mark { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.ln-404__mark, .ln-logo--header:hover .ln-logo__mark { animation: none; }
}

/* ---------- Shared: headings are worn the same way as the logo ----------
   One tileable texture (specks, chips, hairline cracks) is cut out of every
   display heading, whatever font the style uses. */
:root { --ln-grit: url(../img/lostnote-grit.png); --ln-grit-size: 6em 4em; }
[class*="ln-style-"] :is(h1, h2, h3, .ln-title, .ln-subhead, .ln-quote p, .ln-epk-stat__num, .ln-show__day, .ln-show__venue, .ln-record__price, .ln-empty__big, .ln-release__blank span, .ln-ticker b, .ln-epk-email) {
	-webkit-mask: var(--ln-grit) 0 0 / var(--ln-grit-size); mask: var(--ln-grit) 0 0 / var(--ln-grit-size);
}
/* The texture scales with the letters (em), so small headings wear like small prints of the logo.
   Broadcast letters have thin strokes, so its grain stays fine; Overdrive is set smaller and takes a larger tile. */
.ln-style-b { --ln-grit-size: 6.6em 4.4em; }
.ln-style-c { --ln-grit-size: 8.4em 5.6em; }

/* ==========================================================================
   A · HEAVY — cracked block letters. Loud, physical, gig-poster.
   ========================================================================== */
.ln-style-a .ln-logo--header .ln-logo__img { width: clamp(190px, 24vw, 320px); }
.ln-style-a .ln-btn { border-width: 3px; font-size: .84rem; letter-spacing: .12em; }
.ln-style-a .ln-btn--solid { box-shadow: 4px 4px 0 var(--ln-paper); }
.ln-style-a .ln-btn--solid:hover, .ln-style-a .ln-btn--solid:focus-visible { box-shadow: 7px 7px 0 var(--ln-paper); }
.ln-style-a .ln-btn--sm { border-width: 2px; }
.ln-style-a .ln-head::after, .ln-style-a .ln-pagehead .ln-title::after { height: 26px; width: min(300px, 70%); }
.ln-style-a .ln-section + .ln-section { border-top: 3px solid var(--ln-line); }
.ln-style-a .ln-tag { border-width: 2px; font-weight: 700; }
.ln-style-a .ln-link { border-bottom-width: 3px; }
.ln-style-a .ln-header { border-bottom-width: 3px; }
.ln-style-a .ln-footer { border-top-width: 3px; }

/* ==========================================================================
   B · BROADCAST — wide letters between two rules. Clean, technical, on-air.
   ========================================================================== */
.ln-style-b {
	--ln-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
	--ln-ds: .5;
	--ln-ds-min: .9rem;
	--ln-grain: .035;
}
.ln-style-b h1, .ln-style-b h2, .ln-style-b h3, .ln-style-b h4, .ln-style-b h5, .ln-style-b h6,
.ln-style-b .ln-quote p, .ln-style-b .ln-show__venue, .ln-style-b .ln-product__title { letter-spacing: .03em; line-height: 1.12; }
.ln-style-b .ln-title { line-height: 1.08; }
/* Michroma has one weight; a hairline stroke brings it up to the logo's weight. */
.ln-style-b h1, .ln-style-b h2, .ln-style-b h3, .ln-style-b .ln-quote p { -webkit-text-stroke: .022em currentColor; paint-order: stroke fill; }
.ln-style-b .ln-hero__title { --ln-ds: .56; line-height: 1; letter-spacing: .02em; display: inline-block; padding: .16em 0 .12em; margin-bottom: .3em;
	border-block: .055em solid currentColor; }
.ln-style-b .ln-hero__title::after { display: none; }
/* Section headings sit between two rules, like the logo. */
.ln-style-b .ln-head .ln-title, .ln-style-b .ln-pagehead .ln-title, .ln-style-b .ln-epk-hero__title {
	display: inline-block; padding: .28em 0 .24em; border-block: 3px solid var(--ln-paper);
}
.ln-style-b .ln-head::after, .ln-style-b .ln-pagehead .ln-title::after { height: 16px; width: min(200px, 50%); margin-top: 16px; }
.ln-style-b .ln-pagehead .ln-title::after { display: none; }
.ln-style-b .ln-eyebrow { letter-spacing: .28em; font-size: .72rem; }
.ln-style-b .ln-menu a { letter-spacing: .24em; }
.ln-style-b .ln-btn { border-width: 0; border-block: 2px solid var(--b); padding-inline: 1.4em; letter-spacing: .24em; font-size: .74rem; }
.ln-style-b .ln-btn--solid { border-block-color: var(--ln-accent); }
.ln-style-b .ln-btn:hover, .ln-style-b .ln-btn:focus-visible { transform: none; box-shadow: none; background: var(--ln-paper); color: var(--ln-ink); border-block-color: var(--ln-paper); letter-spacing: .3em; }
.ln-style-b .ln-btn { transition: letter-spacing .25s var(--ln-ease), background-color .2s, color .2s, border-color .2s; }
.ln-style-b .ln-tag { border-width: 0; border-block: 1px solid var(--ln-line-strong); padding-inline: 0; letter-spacing: .22em; }
.ln-style-b .ln-tag--accent { border-block-color: var(--ln-accent); }
.ln-style-b .ln-link { border-bottom-width: 1px; letter-spacing: .22em; }
.ln-style-b .ln-section + .ln-section { border-top: 1px solid var(--ln-line); }
.ln-style-b .ln-header { border-bottom: 1px solid var(--ln-line-strong); box-shadow: 0 4px 0 -3px var(--ln-line-strong); }
.ln-style-b .ln-footer { border-top: 1px solid var(--ln-line-strong); box-shadow: 0 -4px 0 -3px var(--ln-line-strong); }
.ln-style-b .ln-epk-stat__num, .ln-style-b .ln-show__day, .ln-style-b .ln-record__price { letter-spacing: 0; }
.ln-style-b .ln-release__blank span, .ln-style-b .ln-empty__big { -webkit-text-stroke-width: 1px; }
@media (max-width: 960px) { .ln-style-b .ln-menu a { letter-spacing: .06em; } }

/* ==========================================================================
   C · OVERDRIVE — slanted, speed-striped letters. Fast, late-night, neon-adjacent.
   ========================================================================== */
.ln-style-c {
	--ln-display: "Russo One", "Arial Black", Impact, sans-serif;
	--ln-ds: .6;
	--ln-ds-min: .95rem;
	--ln-slice: repeating-linear-gradient(to bottom, #000 0, #000 .115em, transparent .115em, transparent .15em);
}
.ln-style-c h1, .ln-style-c h2, .ln-style-c h3, .ln-style-c h4, .ln-style-c h5, .ln-style-c h6,
.ln-style-c .ln-quote p, .ln-style-c .ln-show__venue, .ln-style-c .ln-show__day, .ln-style-c .ln-product__title,
.ln-style-c .ln-epk-stat__num, .ln-style-c .ln-record__price, .ln-style-c .ln-ticker b, .ln-style-c .ln-postnav a {
	font-style: italic; line-height: 1.04; letter-spacing: 0;
}
/* Every heading in the display font is cut into horizontal strips, like the logo, on top of the shared wear. */
.ln-style-c :is(h1, h2, h3, h4, .ln-title, .ln-subhead, .ln-quote p, .ln-epk-stat__num, .ln-show__day, .ln-show__venue, .ln-record__price, .ln-product__title, .ln-empty__big, .ln-release__blank span, .ln-ticker b, .ln-postnav a, .ln-epk-email, .ln-epk-ph__label, .lnseo-faq__q, .ln-av-toggle summary) {
	-webkit-mask: var(--ln-slice), var(--ln-grit) 0 0 / var(--ln-grit-size); mask: var(--ln-slice), var(--ln-grit) 0 0 / var(--ln-grit-size);
	-webkit-mask-composite: source-in; mask-composite: intersect;
	padding-right: .12em;
}
.ln-style-c .ln-hero__title { --ln-ds: .66; line-height: .95; }
.ln-style-c .ln-hero__title::after { display: none; }
.ln-style-c .ln-btn { transform: skewX(-12deg); border-width: 2px; font-style: normal; }
.ln-style-c .ln-btn:hover, .ln-style-c .ln-btn:focus-visible { transform: skewX(-12deg) translate(4px, 0); box-shadow: -6px 0 0 -1px var(--ln-ink), -8px 0 0 var(--ln-accent), -14px 0 0 -1px var(--ln-ink), -16px 0 0 color-mix(in srgb, var(--ln-accent) 55%, transparent); }
.ln-style-c .ln-btn--outline:hover { box-shadow: -6px 0 0 -1px var(--ln-ink), -8px 0 0 var(--ln-paper), -14px 0 0 -1px var(--ln-ink), -16px 0 0 color-mix(in srgb, var(--ln-paper) 55%, transparent); }
.ln-style-c .ln-btn:active { transform: skewX(-12deg); box-shadow: none; }
.ln-style-c .ln-tag { transform: skewX(-12deg); }
.ln-style-c .ln-eyebrow, .ln-style-c .ln-meta { font-style: italic; }
.ln-style-c .ln-menu a { font-style: italic; }
.ln-style-c .ln-head::after, .ln-style-c .ln-pagehead .ln-title::after { transform: skewX(-12deg); transform-origin: left bottom; }
/* Speed lines trailing off the bottom of each section. */
.ln-style-c .ln-section + .ln-section::before {
	content: ""; position: absolute; top: 0; left: 0; width: min(520px, 70%); height: 14px; pointer-events: none;
	background: repeating-linear-gradient(to bottom, var(--ln-accent) 0 2px, transparent 2px 6px);
	-webkit-mask: linear-gradient(to right, #000, transparent); mask: linear-gradient(to right, #000, transparent);
	transform: skewX(-24deg); transform-origin: left top; opacity: .85;
}
.ln-style-c .ln-header { border-bottom: 0; background-image: linear-gradient(to right, var(--ln-accent), transparent 60%); background-size: 100% 2px; background-position: left bottom; background-repeat: no-repeat; }
.ln-style-c .ln-link { border-bottom: 0; background: repeating-linear-gradient(to bottom, var(--ln-accent) 0 2px, transparent 2px 4px) left bottom / 100% 6px no-repeat; padding-bottom: .55em; font-style: italic; }
.ln-style-c .ln-logo--header .ln-logo__img { width: clamp(190px, 24vw, 320px); }
