/* Fonts (self-hosted, SIL OFL - see /resources/fonts/OFL.txt) -------------- */
@font-face {
    font-family: "Bowlby One SC";
    src: url("../fonts/bowlby-one-sc-latin.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Bowlby One SC";
    src: url("../fonts/bowlby-one-sc-latin-ext.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-latin.woff2") format("woff2");
    font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
    font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tokens ------------------------------------------------------------------- */
:root {
    --stage: #0d0c1f;           /* the dark of the stage in the brand's covers */
    --stage-lift: #17163d;      /* risers, panels */
    --stage-line: #2c2a6a;
    --indigo: #4a4cb0;          /* Buddy */
    --beam: #8587ff;            /* indigo stage light */
    --lavender: #b9baff;        /* Buddy's eye */
    --tungsten: #ffc83d;        /* warm lamp; Buddy's gold, brightened */
    --mustard: #b99a00;
    --rose: #ff7090;
    --teal: #30d1b4;
    --violet: #c9a0ff;
    --white: #ffffff;
    --text: #e6e5f5;
    --muted: #a5a4c8;
    --ink: #0b0a14;
    --paper: #f4f4f8;           /* setlist, tape, tickets, document sheets */
    --danger: #c8372d;

    --f-brand: "Bowlby One SC", "Arial Black", Impact, sans-serif;      /* wordmark only */
    --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(1.15rem, 4vw, 2.75rem);
    --header-h: 66px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --bounce: cubic-bezier(.34, 1.56, .64, 1);
    /* torn ends of a strip of tape */
    --torn: polygon(0 0, 100% 0, calc(100% - 5px) 22%, 100% 44%, calc(100% - 4px) 68%, 100% 100%, 0 100%, 4px 76%, 0 52%, 5px 26%);
}
/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--stage); color-scheme: dark; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--stage);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
main { position: relative; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.08; color: var(--white); text-wrap: balance; overflow-wrap: break-word; }
button { font: inherit; color: inherit; }
::selection { background: var(--tungsten); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tungsten); outline-offset: 3px; border-radius: 3px; }
.skip-link {
    position: fixed; left: 12px; top: -80px; z-index: 200;
    padding: .7em 1.1em; font: 700 .9rem/1.2 var(--f-display); text-decoration: none; color: var(--ink); background: var(--tungsten); border-radius: 4px;
    transition: top .2s;
}
.skip-link:focus { top: 12px; }
.section-title { font-size: clamp(2rem, 4.8vw, 3.5rem); }
/* Board tape: the strips a sound engineer sticks on the desk to label things */
.tape {
    display: inline-block; margin: 0 0 1.2rem;
    font: 800 .72rem/1.2 var(--f-display);
}

.chips { display: flex; flex-wrap: wrap; margin: 2rem 0 0; padding: 0; list-style: none; }
.chips .tape { margin: 0; }

.chips .tape:nth-child(3) { rotate: -.5deg; }
/* Ticket buttons: tear the stub ------------------------------------------- */
.btn { --stub: 2.9em;
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 3.1em; margin-right: var(--stub); padding: .55em 1.3em .55em 1.5em;
    font: 800 .84rem/1.15 var(--f-display); text-transform: uppercase; text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer;
    transition: translate .2s var(--ease);
}
.btn::before, .btn::after { content: ""; position: absolute; top: 0; bottom: 0; }
.btn::before {
    left: 0; right: 0; z-index: -1; background: var(--btn-bg);
    -webkit-mask: radial-gradient(circle var(--notch) at 100% 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.btn::after {
    left: 100%; width: var(--stub); transform-origin: 0 100%;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 0 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
    transition: rotate .3s var(--bounce), translate .3s var(--bounce);
}
.btn:hover { translate: 0 -2px; }
.btn:hover::after { rotate: 9deg; translate: 3px 1px; }
.btn:active::after { rotate: 17deg; translate: 6px 4px; }
.btn--paper { --btn-bg: var(--paper); }
.btn--down { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0a14' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.btn--small { font-size: .74rem; min-height: 2.9em; --stub: 2.7em; --notch: 6px; }
.btn--block { width: calc(100% - var(--stub)); }
.play-badge { width: 190px; margin: -12px -10px; transition: scale .25s var(--bounce), rotate .25s var(--bounce); }

.play-badge:hover { scale: 1.04; rotate: -1.5deg; }
.play-badge--large { width: 232px; }
/* the Croatian badge image has no transparent edge at the sides (the English one does), so it needs no pull to the left */
html[lang="hr"] .play-badge { margin: -8px 0; }
/* Record (vinyl) ----------------------------------------------------------- */
.record {
    position: relative; aspect-ratio: 1; border-radius: 50%;
    background:
        conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, .2) 12%, transparent 18% 50%, rgba(255, 255, 255, .14) 56%, transparent 62%),
        repeating-radial-gradient(circle, #15131f 0 2px, #26233a 2px 3.5px);
    border: 2px solid var(--ink);
}
.record__label {
    position: absolute; inset: 31%; border-radius: 50%;
    background: radial-gradient(circle, var(--ink) 0 9%, var(--lavender) 10% 34%, var(--ink) 35% 38%, var(--indigo) 39% 100%);
    border: 2px solid var(--ink);
}
.record__label::after { content: ""; position: absolute; left: 50%; top: 9%; width: 16%; height: 16%; margin-left: -8%; border-radius: 50%; background: var(--tungsten); }
/* Buddy -------------------------------------------------------------------- */
.buddy { aspect-ratio: 2000 / 3500; }
.buddy img, .buddy svg { position: absolute; inset: 0; width: 100%; overflow: visible; }
.buddy[data-buddy-tap] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.js .buddy[data-buddy] img { opacity: 0; }
.js .buddy[data-buddy-state="failed"] img { opacity: 1; }
.buddy svg { animation: buddy-in .7s var(--bounce) both; transform-origin: 50% 100%; }
/* Stage lighting: a rig of lamps, flat beams, a pool of light on the floor - */
.rig { position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--stage-line); border: 2px solid var(--ink); border-radius: 3px; }
.rig i { position: absolute; top: 6px; width: 26px; height: 20px; margin-left: -13px; background: var(--stage-lift); border: 2px solid var(--ink); border-radius: 4px 4px 10px 10px; }
.rig i::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -5px; height: 8px; border-radius: 50%; background: var(--beam); }
.rig i:nth-child(1) { left: 10%; rotate: -20deg; }
.rig i:nth-child(2) { left: 30%; rotate: -10deg; }
.rig i:nth-child(3) { left: 50%; }
.rig i:nth-child(3)::after { background: var(--white); }
.rig i:nth-child(4) { left: 70%; rotate: 10deg; }
.rig i:nth-child(5) { left: 90%; rotate: 20deg; }

.stage__spot { position: absolute; left: 17%; right: 17%; top: 9%; aspect-ratio: 1; border-radius: 50%; background: rgba(185, 186, 255, .15); animation: pop .9s var(--bounce) .1s both; }
.stage__pool { position: absolute; left: 12%; right: 12%; bottom: 4.5%; height: 15%; border-radius: 50%; background: rgba(185, 186, 255, .2); border: 2px solid rgba(185, 186, 255, .32); }
/* Header ------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(13, 12, 31, .9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: transform .35s var(--ease), border-color .25s;
}
.site-header.is-stuck { border-bottom-color: var(--stage-line); }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; max-width: var(--wrap); height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.logo__mark { width: 38px; height: 40px; flex: none; transition: rotate .5s var(--bounce), scale .5s var(--bounce); }
.logo:hover .logo__mark { rotate: -14deg; scale: 1.08; }
.logo__text { font: 400 1.3rem/1 var(--f-brand); letter-spacing: .01em; color: var(--white); }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav__link { position: relative; padding: .55em .8em; font: 600 .9rem/1.2 var(--f-display); white-space: nowrap; text-decoration: none; color: var(--text); transition: color .2s; }
.site-nav__link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .2em; height: 2px; background: var(--tungsten); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.site-nav__link:hover, .site-nav__link.is-current { color: var(--white); }
.site-nav__link:hover::after, .site-nav__link.is-current::after { transform: scaleX(1); }
.site-nav__cta { margin-left: .9rem; }
.site-header__tools { display: flex; align-items: center; gap: .6rem; }
/* Language: a two-way selector switch */
.lang { display: inline-flex; padding: 3px; background: var(--stage-lift); border: 1px solid var(--stage-line); border-radius: 6px; }
.lang__item { padding: .52em .72em; font: 700 .72rem/1 var(--f-display); letter-spacing: .05em; text-decoration: none; color: var(--muted); background: none; border: 0; border-radius: 3px; cursor: pointer; transition: background-color .2s, color .2s; }
.lang__item:hover { color: var(--white); }
.lang__item.is-active { background: var(--tungsten); color: var(--ink); }
/* Menu button: three little faders */
.burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; background: var(--stage-lift); border: 1px solid var(--stage-line); border-radius: 6px; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: rotate .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span::after { content: ""; position: absolute; top: -4px; width: 6px; height: 10px; border-radius: 1px; background: var(--tungsten); transition: opacity .2s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(1)::after { left: 3px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(2)::after { left: 14px; }
.burger span:nth-child(3) { top: 29px; }
.burger span:nth-child(3)::after { left: 8px; }
.burger[aria-expanded="true"] span::after { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; rotate: 45deg; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; rotate: -45deg; }
@media (max-width: 999px) {   /* menu behind the burger until all labels fit in one row */
    .burger { display: block; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0; padding: .4rem var(--gutter) 1.6rem;
        background: var(--stage); border-bottom: 1px solid var(--stage-line);
        clip-path: inset(0 0 100% 0); visibility: hidden;
        transition: clip-path .4s var(--ease), visibility 0s .4s;
    }
    .site-nav.is-open { clip-path: inset(0 0 -20px 0); visibility: visible; transition: clip-path .4s var(--ease); }
    .site-nav__link { padding: .95em .1em; font: 800 1.45rem/1 var(--f-display); letter-spacing: -.02em; border-bottom: 1px solid var(--stage-line); }
    .site-nav__link::after { display: none; }
    .site-nav__cta { align-self: flex-start; margin: 1.5rem 0 0; font-size: .84rem; }
    .logo__text { font-size: 1.1rem; }
}
/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 2rem; max-width: var(--wrap); margin: 0 auto; padding: clamp(1.8rem, 5vw, 3.5rem) var(--gutter) clamp(2.6rem, 6vw, 4.2rem); }
.hero__title { font-size: clamp(2.1rem, 10.2vw, 4.4rem); line-height: 1.04; margin: 0 0 1.3rem; }
.hero__line { display: block; }
.word { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em .04em .2em; margin: -.08em -.04em -.2em; }
.word > span { display: inline-block; }
.js .word > span { animation: word-up .8s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
.word--accent { color: var(--tungsten); }
.hero__lead { max-width: 33em; font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.55; margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem 1.6rem; }
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero .chips { animation: fade-up .8s var(--ease) both; }
.js .hero__lead { animation-delay: .55s; }
.js .hero__actions { animation-delay: .7s; }
.js .hero .chips { animation-delay: .85s; }
.stage { position: relative; width: min(100%, 430px); aspect-ratio: 1 / 1.22; margin: 0 auto; }
.stage__buddy { position: absolute; left: 50%; bottom: 10%; width: 50%; transform: translateX(-50%); }
.stage__socket { position: absolute; left: 50%; bottom: -2%; width: 2px; height: 2px; }

.bubble {
    position: absolute; left: -3%; top: 15%; margin: 0; max-width: 44%;
    padding: .7em 1em; font: 700 clamp(.84rem, 1.2vw, .98rem)/1.25 var(--f-display); color: var(--ink);
    background: var(--white); border-radius: 16px 16px 16px 3px; transform-origin: 0 100%;
    animation: pop .5s var(--bounce) both;
}
.js .bubble:not(.is-in) { visibility: hidden; animation: none; }   /* site.js shows it once the hero's entrance is over */
.bubble::after { content: ""; position: absolute; right: -11px; bottom: 12px; width: 16px; height: 14px; background: var(--white); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.bubble.is-changing { animation: bubble-swap .45s var(--bounce); }
/* The QR code travels as a ticket */
.ticket {
    display: none; align-items: center; gap: .9rem;
    padding: .65rem 1.2rem .65rem .65rem; max-width: 250px;
    font: 700 .66rem/1.45 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink);
    background: var(--paper); border-radius: 6px;
    -webkit-mask: radial-gradient(circle 8px at 94px 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 94px 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
            mask: radial-gradient(circle 8px at 94px 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 8px at 94px 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
    transition: rotate .3s var(--bounce), scale .3s var(--bounce);
}
.ticket__qr { flex: none; width: 76px; height: 76px; image-rendering: pixelated; }
.ticket__text { padding-left: .9rem; border-left: 2px dashed var(--ink); }
.stage .ticket { position: absolute; right: -2%; bottom: 0; rotate: 3deg; animation: pop .6s var(--bounce) 1.2s both; }
.ticket--flat { rotate: -2deg; }
.ticket:hover { rotate: 0deg; scale: 1.05; }
@media (min-width: 900px) {
    .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; min-height: min(calc(100vh - var(--header-h)), 820px); }
    .hero__title { font-size: clamp(2.6rem, 5.3vw, 4.8rem); }
    /* room under the pool of light for the QR ticket */
    .stage { width: min(100%, 500px); aspect-ratio: 1 / 1.38; }
    .stage .stage__pool { bottom: 16%; height: 13.5%; }
    .stage .stage__buddy { bottom: 20.5%; }
    .ticket { display: flex; }
}
/* Ticker: board tape with the channel list --------------------------------- */
.ticker { position: relative; z-index: 3; overflow: hidden; padding: .72rem 0; background: var(--paper); color: var(--ink); rotate: -1.2deg; scale: 1.02; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.ticker__list li { display: flex; align-items: center; font: 800 clamp(.95rem, 1.8vw, 1.25rem)/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker__list li::after { content: ""; width: 3px; height: 1.5em; margin: 0 1.3em; background: var(--ink); rotate: 14deg; }
/* About -------------------------------------------------------------------- */
.about { position: relative; padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); }
.about__inner { position: relative; z-index: 2; display: grid; gap: 2.5rem; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); align-items: center; }
.about__media { margin: 0; }
.about__media img { width: 100%; }
.about .section-title { margin-bottom: 1.4rem; }
@media (min-width: 960px) {
    .about__inner { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; }
}
/* Rich text (translated blocks) ------------------------------------------- */
.rich p:last-child { margin-bottom: 0; }
.rich p > b:first-child:not(:last-child) { display: block; margin-bottom: .4em; font: 800 .74rem/1.3 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--gel, var(--tungsten)); }
.rich p > b:first-child:not(:last-child) + br { display: none; }
.rich p > b:only-child { display: inline-block; margin-top: .5em; padding: .55em 1.1em; font: 800 .95rem/1.35 var(--f-display); color: var(--ink); background: var(--tungsten); rotate: -1deg; clip-path: var(--torn); }
/* Features: the setlist and five lit scenes -------------------------------- */
.features { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.features__head { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto clamp(2rem, 5vw, 3.2rem); padding: 0 var(--gutter); }
.features__layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.features__list { display: grid; gap: clamp(4rem, 9vw, 7.5rem); min-width: 0; }
.setlist { position: relative; justify-self: start; width: min(100%, 320px); padding: 1.7rem 1.4rem 1.3rem; color: var(--ink); background: var(--paper); rotate: -1.8deg; }
.setlist::before, .setlist::after { content: ""; position: absolute; top: -11px; width: 76px; height: 26px; background: var(--tungsten); clip-path: var(--torn); }
.setlist::before { left: -24px; rotate: -32deg; }
.setlist::after { right: -24px; rotate: 28deg; }
.setlist__title { margin: 0 0 .7rem; padding-bottom: .65rem; font: 800 .74rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.setlist ol { margin: 0; padding: 0; list-style: none; counter-reset: song; }
.setlist li { counter-increment: song; }
.setlist a {
    display: flex; gap: .55em; padding: .36em .3em; font: 800 .98rem/1.25 var(--f-display); text-transform: uppercase; text-decoration: none; color: var(--ink);
    background: linear-gradient(var(--tungsten), var(--tungsten)) 0 55% / 0 64% no-repeat; transition: background-size .35s var(--ease);
}
.setlist li a::before { content: counter(song) "."; flex: none; min-width: 1.25em; }
.setlist a:hover, .setlist a.is-current { background-size: 100% 64%; }
/* run over it with a highlighter */
.setlist__encore { margin: .8rem 0 0; padding-top: .75rem; font: 800 .74rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; border-top: 2px dashed var(--ink); }
.setlist__encore a { margin-top: .35rem; letter-spacing: 0; }
@media (min-width: 1040px) {
    .features__layout { grid-template-columns: 300px minmax(0, 1fr); gap: 4.5rem; align-items: start; }
    .setlist { position: sticky; top: calc(var(--header-h) + 40px); }
}
.feature { --gel: var(--beam); position: relative; display: grid; gap: 1.6rem; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.feature--amber { --gel: var(--tungsten); }
.feature--rose { --gel: var(--rose); }
.feature--teal { --gel: var(--teal); }
.feature--violet { --gel: var(--violet); }
.feature__media { position: relative; display: grid; place-items: center; padding: 40px 0 22px; }
.feature__media::before { /* the beam */
    content: ""; position: absolute; left: 0; right: 0; top: 26px; bottom: 9%; opacity: .26;
    background: conic-gradient(from 159deg at 50% 0, var(--gel) 0 42deg, transparent 42deg);
    -webkit-mask: linear-gradient(#000 68%, transparent); mask: linear-gradient(#000 68%, transparent);
}
.feature__media::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 1%; height: 13%; border-radius: 50%; background: var(--gel); opacity: .3; }
/* its pool on the floor */
.feature__lamp { position: absolute; left: 50%; top: 2px; z-index: 1; width: 36px; height: 28px; margin-left: -18px; background: var(--stage-lift); border: 2px solid var(--ink); border-radius: 5px 5px 13px 13px; }
.feature__lamp::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -6px; height: 10px; border-radius: 50%; background: var(--gel); }
.feature__media img { position: relative; z-index: 1; width: min(86%, 450px); }
.feature__title { font-size: clamp(1.55rem, 6vw, 2.5rem); margin-bottom: .6rem; }
.feature__lead { font: 700 clamp(1.04rem, 1.5vw, 1.2rem)/1.35 var(--f-display); letter-spacing: -.01em; margin-bottom: 1.1rem; color: var(--gel); }
.feature .rich { font-size: 1rem; }
@media (min-width: 760px) {
    .feature { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 2.5rem; }
    .feature:nth-child(even) .feature__media { order: 2; }
    .feature--wide { grid-template-columns: 1fr; }
    .feature--wide .feature__media { order: 0 !important; }
    .feature--wide .feature__media img { width: min(100%, 640px); }
    .feature--wide .feature__body { max-width: 44rem; }
}
/* Mission (record sleeve) -------------------------------------------------- */
.mission { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.mission__inner { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); align-items: center; }
.sleeve { --slide: 0; position: relative; width: min(78%, 400px); margin-right: auto; }
.sleeve__record { position: absolute; top: 4%; left: 6%; width: 92%; transform: translateX(calc(var(--slide) * 46%)) rotate(calc(var(--slide) * 150deg)); transition: transform .15s linear; }
.sleeve__cover { position: relative; display: flex; flex-direction: column; aspect-ratio: 1; padding: clamp(1.2rem, 3vw, 2rem); background: var(--indigo); border: 2px solid var(--ink); border-radius: 4px; transform: rotate(-3deg); }
.sleeve__cover::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(255, 255, 255, .3); pointer-events: none; }

.mission__copy { font-size: 1.06rem; }
@media (max-width: 959px) {
    .sleeve { margin-left: 8px; }   /* the cover is tilted: keep its corner inside the page margin, clear of the cable */
}
@media (min-width: 960px) {
    .mission__inner { grid-template-columns: .82fr 1.18fr; }
    .sleeve { width: min(82%, 430px); }
}
/* Download: the lead plugs into the amp ----------------------------------- */
.download { position: relative; padding-top: clamp(3rem, 7vw, 5rem); }
.download__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.download__title { font-size: clamp(2rem, 5.2vw, 3.8rem); max-width: 13em; margin-bottom: 2rem; }
.download__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; }
.download__stage { position: relative; width: min(80%, 340px); aspect-ratio: 1 / 1.18; margin: 1.5rem auto 0; }
.download__stage .buddy { position: absolute; left: 50%; bottom: 11%; width: 52%; transform: translateX(-50%); }
@media (min-width: 900px) {
    .download__inner { grid-template-columns: 1.25fr .75fr; align-items: end; }
    .download__copy { padding-bottom: clamp(3rem, 6vw, 5rem); }
    .download__stage { width: min(100%, 420px); margin: 0 auto; }
    .ticket--flat { display: flex; }
}
.amp {
    position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(.8rem, 2.2vw, 1.8rem);
    width: min(calc(100% - 2 * var(--gutter)), calc(var(--wrap) - 2 * var(--gutter))); height: 84px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem);
    background: var(--tungsten); border: 3px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0;
}
.amp__jack { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 4px solid #8b8996; }
.amp__text { font: 800 .62rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.amp__knobs { display: flex; gap: clamp(.6rem, 2vw, 1.4rem); margin-left: auto; }
.amp__knobs i { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); rotate: -130deg; transition: rotate .9s var(--bounce); }
.amp__knobs i::after { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 10px; margin-left: -1.5px; border-radius: 2px; background: var(--paper); }
.amp__knobs i:nth-child(2) { transition-delay: .08s; }
.amp__knobs i:nth-child(3) { transition-delay: .16s; }
.amp__knobs i:nth-child(4) { transition-delay: .24s; }
.amp__knobs i:nth-child(5) { transition-delay: .32s; }
.amp.is-on .amp__knobs i { rotate: 130deg; }
/* everything up to eleven */
.amp__led { flex: none; width: 15px; height: 15px; border-radius: 50%; background: #5a1a15; border: 2px solid var(--ink); transition: background-color .2s .3s, box-shadow .2s .3s; }
.amp.is-on .amp__led { background: #ff4a36; box-shadow: 0 0 0 4px rgba(255, 74, 54, .3); }

@media (max-width: 620px) {
    .amp__knobs i:nth-child(n+4) { display: none; }
}
/* The lead that runs down the page (drawn by site.js) */
.cable { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; overflow: visible; max-width: none; }
.cable path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cable__outline { stroke: var(--ink); stroke-width: var(--cable-w, 9px); }   /* --cable-w: the guitar lead's width on screen, set by site.js */
.cable__line { stroke: var(--tungsten); stroke-width: calc(var(--cable-w, 9px) / 2); }

/* Footer ------------------------------------------------------------------- */
.site-footer { position: relative; z-index: 2; background: #07060f; color: var(--text); border-top: 3px solid var(--ink); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--gutter) 1.6rem; }
.site-footer__tagline { margin: 1.1rem 0 2.2rem; font: 600 .8rem/1.5 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--tungsten); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--stage-line); }
.site-footer__links a { padding-bottom: 3px; font: 600 .92rem/1.4 var(--f-display); text-decoration: none; background: linear-gradient(var(--tungsten), var(--tungsten)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.site-footer__links a:hover { background-size: 100% 2px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.3rem; font-size: .9rem; color: var(--muted); }
.site-footer__rights { margin: 0; }
.site-footer__top { font: 600 .88rem/1.4 var(--f-display); text-decoration: none; color: var(--white); }
.site-footer__top span { display: inline-block; transition: translate .25s var(--bounce); }
.site-footer__top:hover span { translate: 0 -4px; }
.site-footer--minimal { background: none; border: 0; text-align: center; padding: 1.5rem var(--gutter) 2rem; font-size: .88rem; color: var(--muted); }
/* Legal pages: the paperwork ---------------------------------------------- */
.legal-hero { position: relative; overflow: hidden; }
.legal-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: conic-gradient(from 203deg at 82% -12%, rgba(133, 135, 255, .22) 0 17deg, transparent 17deg), conic-gradient(from 226deg at 99% -12%, rgba(255, 200, 61, .13) 0 13deg, transparent 13deg);
}
.legal-hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: clamp(2.2rem, 6vw, 4rem) var(--gutter) 0; }
.legal-hero__title { font-size: clamp(2rem, 6.4vw, 3.8rem); max-width: 12em; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: .85em 1.2em .75em; font: 700 .88rem/1.2 var(--f-display); text-decoration: none; white-space: nowrap; background: var(--stage-lift); border-radius: 5px 5px 0 0; transition: background-color .2s, color .2s; }
.tab:hover { background: var(--stage-line); color: var(--white); }
.tab.is-active { color: var(--ink); background: var(--paper); }
/* the divider tab of the sheet below */
.legal { display: grid; gap: 2rem; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6rem); }
.legal article { min-width: 0; }
.toc { display: none; }
.toc__title { margin: 0 0 .75rem; padding-top: .15em; font: 800 .72rem/1.35 var(--f-display); text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--stage-line); }
.toc a { display: block; margin-left: -1px; padding: .36em 0 .36em .9em; font-size: .88rem; line-height: 1.35; text-decoration: none; color: var(--muted); border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--white); }
.toc a.is-current { color: var(--white); font-weight: 700; border-left-color: var(--tungsten); }
@media (min-width: 1040px) {
    .legal { grid-template-columns: minmax(0, 50rem) 240px; gap: 3.5rem; align-items: start; }
    .toc { display: block; order: 2; position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; margin-top: 2.6rem; }
}
/* The policy texts come from utils/translator/<lang>/*.html and are set as a printed sheet */
.privacy_text, .terms_text { padding: clamp(1.5rem, 5vw, 3.6rem); font-size: 1.02rem; line-height: 1.7; color: var(--ink); background: var(--paper); border-radius: 0 3px 3px 3px; overflow-wrap: break-word; }
.privacy_text h2, .terms_text h2 { margin: 2.4em 0 .7em; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.2; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.privacy_text h3, .terms_text h3 { margin: 1.8em 0 .6em; font: 700 1.05rem/1.4 var(--f-display); color: var(--ink); }
.privacy_text ul, .terms_text ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.privacy_text li, .terms_text li { margin-bottom: .35em; padding-left: .2em; }
.privacy_text li::marker, .terms_text li::marker { color: var(--indigo); }
.privacy_text a, .terms_text a { color: var(--indigo); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.privacy_text a:hover, .terms_text a:hover { color: var(--ink); background: var(--tungsten); }
.update-text { /* stamped on, like a date on a contract */
    display: inline-block; margin-bottom: 1.6rem; padding: .5em .85em .42em;
    font: 800 .74rem/1.3 var(--f-display); text-transform: uppercase;
    color: var(--danger); border: 2.5px solid var(--danger); border-radius: 4px;
}
.privacy_text table, .terms_text table { display: block; margin: 1.4em 0 1.8em; overflow-x: auto; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.privacy_text th, .terms_text th { padding: .8em 1em; text-align: left; font: 800 .7rem/1.3 var(--f-display); text-transform: uppercase; color: var(--paper); background: var(--ink); white-space: nowrap; }
.privacy_text td, .terms_text td { min-width: 11em; padding: .8em 1em; vertical-align: top; border-bottom: 1px solid rgba(11, 10, 20, .2); }
.legal__error { color: var(--danger); font-weight: 700; }
/* Small pages (e-mail confirmation, new password, messages): a backstage pass */

.page-card main { flex: 1; display: grid; place-items: center; padding: 5rem var(--gutter) 2rem; overflow: hidden; }
.page-card main::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: conic-gradient(from 165deg at 50% -6%, rgba(133, 135, 255, .2) 0 30deg, transparent 30deg); }
.pass { position: relative; width: min(100%, 430px); transform-origin: 50% -160px; animation: swing 2.2s var(--ease) both; }
.pass__strap { position: absolute; left: 50%; bottom: calc(100% - 24px); z-index: 1; width: 34px; height: 70vh; margin-left: -17px; border-inline: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.panel { position: relative; padding-bottom: clamp(1.7rem, 5vw, 2.3rem); text-align: center; color: var(--ink); background: var(--paper); border-radius: 14px; overflow: hidden; }
.panel__band { position: relative; display: grid; place-items: end center; height: 104px; padding-bottom: 46px; background: var(--indigo); }
.panel__band::before { content: ""; position: absolute; left: 50%; top: 13px; width: 62px; height: 15px; margin-left: -31px; border-radius: 8px; background: var(--stage); }
/* the slot for the lanyard */
.panel__brand { font: 400 1.05rem/1 var(--f-brand); color: var(--white); }
.panel__buddy { position: relative; width: 108px; aspect-ratio: 1; margin: -36px auto 1.1rem; overflow: hidden; border-radius: 50%; background: var(--tungsten); border: 4px solid var(--paper); }
.panel__buddy .buddy { position: absolute; left: 50%; top: 15%; width: 76%; transform: translateX(-50%); }
.panel__title, .panel__text, .panel form { margin-inline: clamp(1.3rem, 5vw, 2.2rem); }
.panel__title { font-size: clamp(1.45rem, 4.8vw, 1.85rem); line-height: 1.15; margin-bottom: .8rem; color: var(--ink); }
.panel__text { margin-bottom: 1.6rem; color: #4b4962; }
.panel__text:empty { display: none; }
.panel form { display: grid; gap: 1rem; }
.field { position: relative; }
.field input { width: 100%; padding: .95em 3.2em .95em 1.1em; font: 500 1rem/1.2 var(--f-body); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 6px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #77758e; }
.field input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(74, 76, 176, .28); }
.field__toggle { position: absolute; right: .5rem; top: 50%; height: 42px; margin-top: -21px; padding: 9px; display: grid; place-items: center; background: none; border: 0; border-radius: 6px; cursor: pointer; }
.field__toggle:hover { background: rgba(11, 10, 20, .08); }
.field__toggle svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.field__toggle .icon-off { display: none; }
.field__toggle[aria-pressed="true"] .icon-on { display: none; }
.field__toggle[aria-pressed="true"] .icon-off { display: block; }
.form-error { margin: 0; padding: .75em 1em; font-weight: 700; font-size: .94rem; line-height: 1.4; text-align: left; color: #7a1c14; background: #ffe2dd; border: 2px solid var(--danger); border-radius: 6px; }

.form-error.is-shaking { animation: shake .4s; }
.panel .btn { margin-top: .3rem; }
.loader { width: 74px; margin: 0 auto 1.4rem; }
.loader .record { animation: spin 1.4s linear infinite; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Scroll reveals ----------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Feature scenes stay where they are: their lamp comes on instead */
.js .feature[data-reveal] { opacity: 1; transform: none; }
.js .feature[data-reveal] .feature__media::before, .js .feature[data-reveal] .feature__media::after { opacity: 0; }
.js .feature[data-reveal] .feature__media img { filter: brightness(.38); transition: filter .7s .3s; }
.js .feature[data-reveal].is-in .feature__media::before { --lit: .26; animation: lamp-on .95s .1s both; }
.js .feature[data-reveal].is-in .feature__media::after { --lit: .3; animation: lamp-on .95s .1s both; }
.js .feature[data-reveal].is-in .feature__media img { filter: none; }
/* Keyframes ---------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes word-up { from { transform: translateY(110%) rotate(5deg); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes buddy-in { from { opacity: 0; transform: translateY(18%) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes bubble-swap { from { scale: .7; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -16px; rotate: 8deg; } }
@keyframes beams { from { opacity: .82; } to { opacity: 1; } }
@keyframes lamp-on { 0% { opacity: 0; } 12% { opacity: var(--lit); } 22% { opacity: .04; } 36% { opacity: var(--lit); } 44% { opacity: .1; } 60%, 100% { opacity: var(--lit); } }
@keyframes swing { 0% { rotate: 7deg; } 30% { rotate: -4deg; } 55% { rotate: 2.4deg; } 78% { rotate: -1deg; } 100% { rotate: 0deg; } }
@keyframes shake { 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 3px 0; } }
/* Motion and print preferences -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js .feature[data-reveal] .feature__media::before { opacity: .26; }
    .js .feature[data-reveal] .feature__media::after { opacity: .3; }
    .js .feature[data-reveal] .feature__media img { filter: none; }
    .js .buddy[data-buddy] img { opacity: 1; }
    .ticker__track { animation: none; }
}
@media print {
    .site-header, .ticker, .stage, .download__stage, .amp, .cable, .toc, .tabs, .site-footer__top, .pass__strap { display: none !important; }
    html, body { background: #fff; color: #000; }
    h1, h2, h3 { color: #000; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
/* ===== ===== Brand palette: no yellow, no tape strips (both themes) ===== ===== */
:root {
    --tungsten: #8f90ff;          /* accent is now light indigo instead of yellow */
    --accent-solid: #4c4cb4;      /* app indigo: buttons, amp */
}
::selection { background: var(--accent-solid); color: #fff; }
/* Labels: plain text, no tape, no tilt, no background */
.tape, .tape--gold, .tape--indigo {
    padding: 0; background: none; rotate: none; clip-path: none;
    color: var(--tungsten); letter-spacing: .12em;
}
.chips { gap: .4rem 1.1rem; }
.chips .tape, .chips .tape:nth-child(2), .chips .tape:nth-child(3) { rotate: none; color: var(--muted); font-weight: 700; }
.chips .tape + .tape::before { content: "·"; margin-right: 1.1rem; color: var(--muted); }
/* Buttons: same ticket shape, app indigo with white text */
.btn {
    --btn-bg: var(--accent-solid); color: #fff;
    --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.btn::after { background: var(--arrow) center / 1.25em no-repeat, linear-gradient(rgba(255,255,255,.7) 55%, transparent 0) 0 0 / 2px 7px repeat-y, var(--btn-bg); }
.btn--down { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v15M6 13l6 6 6-6'/%3E%3C/svg%3E"); }
.btn--paper { --btn-bg: var(--accent-solid); }
/* Ticker: no paper strip, no tilt */
.ticker { background: none; color: var(--muted); rotate: none; scale: 1; border-block: 1px solid var(--stage-line); }
.ticker__list li::after { background: var(--stage-line); }
/* Highlighted closing line: bold text, no tape */
.rich p > b:only-child { padding: 0; background: none; rotate: none; clip-path: none; color: var(--tungsten); }
/* Setlist: a plain card, no tape on the corners, no tilt */
.setlist { rotate: none; color: var(--text); background: var(--stage-lift); border: 1px solid var(--stage-line); border-radius: 12px; }
.setlist::before, .setlist::after { display: none; }
.setlist__title { border-bottom-color: var(--stage-line); color: var(--muted); }
.setlist__encore { border-top-color: var(--stage-line); color: var(--muted); }
.setlist a { color: var(--text); background: linear-gradient(var(--accent-solid), var(--accent-solid)) 0 0 / 0 100% no-repeat; border-radius: 6px; padding: .45em .5em; }
.setlist a:hover, .setlist a.is-current { background-size: 100% 100%; color: #fff; }
/* Feature colour that was yellow */
.feature--amber { --gel: var(--violet); }
/* Amp and cable: indigo instead of yellow */
.amp { background: var(--accent-solid); }
.amp__text { color: #fff; }
.cable__line { stroke: var(--tungsten); }
/* Small pages */
.pass__strap { background: repeating-linear-gradient(180deg, var(--accent-solid) 0 20px, #3d3d99 20px 23px); }
.panel__buddy { background: var(--lavender); }
.lang__item.is-active { background: var(--accent-solid); color: #fff; }

/* ===== Bijela verzija ===== */
:root:where(:not([data-theme="dark"])) {
    --stage: #ffffff;
    --stage-lift: #f3f2fa;        /* app lilac */
    --stage-line: #dddcef;
    --text: #2b2a3f;
    --muted: #6c6b86;
    --white: #1d1c33;             /* headings and strong text now dark */
    --tungsten: #4c4cb4;
    --beam: #6f70d8;
    --lavender: #8f90ff;
    --paper: #ffffff;
    --teal: #047c6c;
    --rose: #d6456a;
    --violet: #7d5bd6;
}
html:where(:not([data-theme="dark"])) { color-scheme: light; }
:where(:root:not([data-theme="dark"])) .site-header { background: rgba(255, 255, 255, .92); }
:where(:root:not([data-theme="dark"])) .logo__text { color: var(--white); }
:where(:root:not([data-theme="dark"])) .burger span { background: var(--white); }
:where(:root:not([data-theme="dark"])) .bubble { border: 1.5px solid var(--stage-line); }
:where(:root:not([data-theme="dark"])) .bubble::after { display: none; }
:where(:root:not([data-theme="dark"])) .stage__spot { background: rgba(76, 76, 180, .07); }
:where(:root:not([data-theme="dark"])) .stage__pool { background: rgba(76, 76, 180, .08); border-color: rgba(76, 76, 180, .18); }
:where(:root:not([data-theme="dark"])) .rig { background: #c9c8e0; }
:where(:root:not([data-theme="dark"])) .rig i { background: #e9e8f6; }
:where(:root:not([data-theme="dark"])) .ticket { border: 1.5px solid var(--stage-line); }
:where(:root:not([data-theme="dark"])) .feature__lamp { background: #e9e8f6; }
.js:where(:not([data-theme="dark"])) .feature[data-reveal].is-in .feature__media::before { --lit: .14; }
.js:where(:not([data-theme="dark"])) .feature[data-reveal].is-in .feature__media::after { --lit: .14; }
.js:where(:not([data-theme="dark"])) .feature[data-reveal] .feature__media img { filter: grayscale(1) opacity(.45); }
.js:where(:not([data-theme="dark"])) .feature[data-reveal].is-in .feature__media img { filter: none; }
:where(:root:not([data-theme="dark"])) .sleeve__cover h2, :where(:root:not([data-theme="dark"])) .sleeve__cover .section-title, :where(:root:not([data-theme="dark"])) .sleeve__cover .tape { color: #fff; }
:where(:root:not([data-theme="dark"])) .cable__outline { stroke: #1d1c33; }
:where(:root:not([data-theme="dark"])) .site-footer { background: var(--stage-lift); border-top: 1px solid var(--stage-line); }
:where(:root:not([data-theme="dark"])) .privacy_text, :where(:root:not([data-theme="dark"])) .terms_text { border: 1px solid var(--stage-line); }
:where(:root:not([data-theme="dark"])) .tab.is-active { background: var(--stage-lift); }
:where(:root:not([data-theme="dark"])) .panel { border: 1px solid var(--stage-line); }
:where(:root:not([data-theme="dark"])) .panel__band .panel__brand { color: #fff; }
:where(:root:not([data-theme="dark"])) .bubble { background: #fff; color: #1d1c33; }
:where(:root:not([data-theme="dark"])) .rig i:nth-child(3)::after { background: var(--lavender); }
:where(:root:not([data-theme="dark"])) .field input { background: #fff; }
/* Headline in one colour, no notes in the animation */
.word--accent { color: inherit; }

/* Buttons: ticket shape without notches */
.btn::before, .btn::after { -webkit-mask: none; mask: none; }
.btn::before { border-radius: 6px 0 0 6px; }
.btn::after { border-radius: 0 6px 6px 0; }
/* Eyebrow labels above headings: sentence case, normal spacing */
.tape, .tape--gold, .tape--indigo { font-size: .98rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.chips .tape { font-size: .9rem; }
/* Labels: upper case, normal letter spacing */
.tape, .tape--gold, .tape--indigo { font-size: .8rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.chips .tape { font-size: .76rem; }
/* Normal letter spacing everywhere */
*, *::before, *::after { letter-spacing: normal !important; }
/* Stage lamps: each has its own beam, all sway slowly; the middle one also shows on white */

.rig i { --r: 0deg; transform-origin: 50% 0; rotate: var(--r); animation: rig-pan 7s ease-in-out infinite alternate; }
.rig i:nth-child(1) { --r: -20deg; animation-delay: 0s; }
.rig i:nth-child(2) { --r: -10deg; animation-delay: -1.6s; }
.rig i:nth-child(3) { --r: 0deg;   animation-delay: -3.2s; }
.rig i:nth-child(4) { --r: 10deg;  animation-delay: -4.8s; }
.rig i:nth-child(5) { --r: 20deg;  animation-delay: -6.4s; }
.stage__beam { position: absolute; top: 26px; width: 80%; height: 82%; margin-left: -40%; pointer-events: none; transform-origin: 50% -20px;
  background: conic-gradient(from 175deg at 50% 0, var(--beam-c, rgba(133, 135, 255, .3)) 0 10deg, transparent 10deg);
  -webkit-mask: linear-gradient(#000 60%, transparent 92%); mask: linear-gradient(#000 60%, transparent 92%);
  rotate: var(--r); animation: rig-pan 7s ease-in-out infinite alternate; }
.stage__beam:nth-child(1) { left: 10%; --r: -20deg; animation-delay: 0s; }
.stage__beam:nth-child(2) { left: 30%; --r: -10deg; animation-delay: -1.6s; --beam-c: rgba(133, 135, 255, .24); }
.stage__beam:nth-child(3) { left: 50%; --r: 0deg; animation-delay: -3.2s; --beam-c: rgba(255, 255, 255, .2); background: conic-gradient(from 172deg at 50% 0, var(--beam-c) 0 16deg, transparent 16deg); }
.stage__beam:nth-child(4) { left: 70%; --r: 10deg; animation-delay: -4.8s; --beam-c: rgba(133, 135, 255, .24); }
.stage__beam:nth-child(5) { left: 90%; --r: 20deg; animation-delay: -6.4s; }
.stage__beam-set { position: absolute; inset: 0; }
@keyframes rig-pan { from { rotate: calc(var(--r) - 8deg); } to { rotate: calc(var(--r) + 8deg); } }
@media (prefers-reduced-motion: reduce) {
    .rig i, .stage__beam { animation: none; }
}
/* Light theme: indigo beams, the middle one stronger so it shows on white */
:where(:root:not([data-theme="dark"])) .stage__beam { --beam-c: rgba(76, 76, 180, .16); }
:where(:root:not([data-theme="dark"])) .stage__beam:nth-child(2), :where(:root:not([data-theme="dark"])) .stage__beam:nth-child(4) { --beam-c: rgba(76, 76, 180, .13); }
:where(:root:not([data-theme="dark"])) .stage__beam:nth-child(3) { --beam-c: rgba(76, 76, 180, .2); }
:where(:root:not([data-theme="dark"])) .rig i:nth-child(3)::after { background: var(--accent-solid); }
/* Beams reach the floor; in the dark theme all lamps are white like the middle one */
.stage__beam { height: calc(88% - 26px); -webkit-mask: linear-gradient(#000 88%, transparent 100%); mask: linear-gradient(#000 88%, transparent 100%); }
@media (min-width: 900px) {
    .stage__beam { height: calc(77.5% - 26px); }
}
:where(:root[data-theme="dark"]) .stage__beam, :where(:root[data-theme="dark"]) .stage__beam:nth-child(2), :where(:root[data-theme="dark"]) .stage__beam:nth-child(4) { --beam-c: rgba(255, 255, 255, .17); }
:where(:root[data-theme="dark"]) .stage__beam:nth-child(3) { --beam-c: rgba(255, 255, 255, .2); }
:where(:root[data-theme="dark"]) .rig i::after { background: var(--white); }
:where(:root[data-theme="dark"]) .stage__pool { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
/* The ticker has a background, so the cable runs underneath it */
.ticker { position: relative; z-index: 3; background: var(--stage-lift); }
/* ===== Setlista napisana rukom (izvedba 2): presavijeni A4, marker, precrtavanje ===== */
@font-face { font-family: "Hand"; font-weight: 700; font-display: swap; src: url("../fonts/shantell-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Hand"; font-weight: 700; font-display: swap; src: url("../fonts/shantell-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF; }
.setlist { --sl-ink: #15141a; --sl-mark: #d6456a; rotate: 1deg; padding: 1.7rem 1.4rem 1.4rem 3.2rem; color: var(--sl-ink); border: 0; border-radius: 2px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(0,0,0,.07) 50%, transparent calc(50% + 1px)),
    linear-gradient(transparent calc(50% - 1px), rgba(0,0,0,.06) 50%, transparent calc(50% + 1px)),
    #ffffff;
  box-shadow: 0 14px 30px rgba(29, 28, 51, .18); font-family: "Hand", "Archivo", sans-serif; }
/* light page: a see-through shade of the ink colour, so the shadow has no tint of its own; dark page: a solid colour */
:where(:root[data-theme="dark"]) .setlist { box-shadow: 0 14px 30px #2c2a6a; }   /* on the dark page a darker shadow would not show */
.setlist::before, .setlist::after { display: none; }
.setlist__title { margin: 0 0 .6rem; padding: 0; border: 0; font: 700 1.35rem/1.2 "Hand", sans-serif; text-transform: uppercase; color: var(--sl-ink); }
.setlist ol { counter-reset: none; }
.setlist li { counter-increment: none; }
.setlist li a::before { content: none; }
.setlist a, .setlist a:hover, .setlist a.is-current { position: relative; display: inline-block; padding: 0 2px; margin: 0; font: 700 1.1rem/2.25rem "Hand", sans-serif; text-transform: uppercase; color: var(--sl-ink); background: none; border-radius: 0; transition: opacity .3s; }
.setlist li:nth-child(1) a { rotate: -1deg; translate: 2px 0; }
.setlist li:nth-child(2) a { rotate: .8deg; translate: 12px 0; }
.setlist li:nth-child(3) a { rotate: -1.4deg; translate: 4px 0; }
.setlist li:nth-child(4) a { rotate: 1deg; translate: 16px 0; }
.setlist li:nth-child(5) a { rotate: -.6deg; translate: 8px 0; }
.setlist__encore { margin: .3rem 0 0; padding: 0; border: 0; font: 700 .95rem/2.25rem "Hand", sans-serif; text-transform: uppercase; color: var(--sl-ink); }
.setlist__encore a { margin-top: 0; }
.setlist .sl-rule { display: block; width: 100%; height: 10px; margin: .5rem 0 0; overflow: visible; }
.setlist .sl-rule path { fill: none; stroke: var(--sl-ink); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.setlist svg.sl-o { position: absolute; overflow: visible; pointer-events: none; }
.setlist svg.sl-o path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke-dashoffset .55s ease; stroke-dasharray: 600 1400; stroke-dashoffset: 680; }
.setlist .sl-strike { left: -6px; top: 0; width: calc(100% + 12px); height: 100%; }
.setlist .sl-strike path { stroke: var(--sl-ink); stroke-width: 3; }
.setlist a.is-done .sl-strike path { stroke-dashoffset: 0; }
.setlist a.is-done { opacity: .62; }
.setlist .sl-arrow { left: -40px; top: 9px; width: 30px; height: 22px; }
.setlist .sl-arrow path { stroke: var(--sl-mark); stroke-width: 2.6; }
.setlist a.is-now .sl-arrow path { stroke-dashoffset: 0; }
.setlist { width: min(100%, 360px); padding-left: 2.8rem; padding-right: 1.1rem; }
.setlist a, .setlist a:hover, .setlist a.is-current { font-size: .98rem; white-space: nowrap; }
/* Small phones: a more compact sheet; the writing shrinks with the screen so the longest line still fits */
@media (max-width: 480px) {
    .setlist { padding: 1.3rem 1rem 1.1rem 2.3rem; }
    .setlist__title { font-size: 1.15rem; margin-bottom: .35rem; }
    .setlist a, .setlist a:hover, .setlist a.is-current { font-size: clamp(.74rem, 4.1vw - 1.5px, .94rem); line-height: 1.95rem; }
    .setlist__encore { font-size: clamp(.74rem, 4vw - 1.2px, .95rem); line-height: 1.95rem; }
    .setlist .sl-arrow { left: -30px; top: 7px; width: 24px; height: 18px; }
}
/* Narrowest phones: a long line (Calendar and Synchronization) goes on to a second line instead of widening the page */
@media (max-width: 359px) {
    .setlist a, .setlist a:hover, .setlist a.is-current { white-space: normal; line-height: 1.4; padding-block: .32rem; }
}
@media (min-width: 1040px) {
    .features__layout { grid-template-columns: 350px minmax(0, 1fr); gap: 3.5rem; }
}
/* 5: setlist stays on the left; each feature is title, phones, text, one under the other */
:root .feature { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
:root .feature__body { display: contents; }
:root .feature__title { order: 1; margin-bottom: .3rem; }
:root .feature__lead { order: 2; margin-bottom: .6rem; }
:root .feature__media { order: 3; padding: 34px 0 18px; }
:root .feature__media img { width: min(100%, 520px); }
:root .feature--wide .feature__media img { width: min(100%, 600px); }
:root .feature .rich { order: 4; max-width: 44rem; margin-top: .4rem; }
/* 5: content on the left, setlist on the right; more air between phones and text */
@media (min-width: 1040px) {
    :root .features__layout { grid-template-columns: minmax(0, 1fr) 350px !important; }
    :root .features__list { grid-column: 1; grid-row: 1; }
    :root .setlist { grid-column: 2; grid-row: 1; justify-self: end; }
}
:root .feature__media { padding-bottom: 34px; }
:root .feature .rich { margin-top: 1.4rem; }
:root .feature__media { order: 3 !important; }
:root .feature__title { order: 1 !important; }
:root .feature__lead { order: 2 !important; }
:root .feature .rich { order: 4 !important; }
/* Feature lamp sways gently; its beam and the pool of light follow it */
.feature { --sway: 9s; --sway-d: 0s; --float: 6.5s; }
.feature:nth-child(2) { --sway: 10.5s; --sway-d: -3s; --float: 7.2s; }
.feature:nth-child(3) { --sway: 8.2s; --sway-d: -5s; --float: 6s; }
.feature:nth-child(4) { --sway: 11s; --sway-d: -2s; --float: 7.6s; }
.feature:nth-child(5) { --sway: 9.6s; --sway-d: -6s; --float: 6.8s; }
.feature__lamp { transform-origin: 50% 0; }
.feature__media::before { transform-origin: 50% -24px; }
.js .feature[data-reveal].is-in .feature__lamp { animation: swing 1.5s var(--ease) both, feat-sway var(--sway) 1.5s ease-in-out infinite; }
.js .feature[data-reveal].is-in .feature__media::before { animation: lamp-on .95s .1s both, feat-sway var(--sway) 1.5s ease-in-out infinite, beam-breathe 4.2s 1.2s ease-in-out infinite; }
.js .feature[data-reveal].is-in .feature__media::after { animation: lamp-on .95s .1s both, pool-follow var(--sway) 1.5s ease-in-out infinite; }
@keyframes feat-sway { 0%, 100% { rotate: 0deg; } 25% { rotate: 4deg; } 75% { rotate: -4deg; } }
@keyframes pool-follow { 0%, 100% { translate: 0 0; } 25% { translate: -5% 0; } 75% { translate: 5% 0; } }
@keyframes beam-breathe { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
/* Phones come up out of the dark, then float gently */
.js .feature[data-reveal] .feature__media img { transform: translateY(46px) scale(.95); transition: filter .7s .3s, transform 1.1s .25s var(--ease); }
.js .feature[data-reveal].is-in .feature__media img { transform: none; animation: phone-float var(--float) 1.4s ease-in-out infinite; }
@keyframes phone-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.feature__media:hover img { scale: 1.025; transition: scale .4s var(--ease), filter .7s, transform 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) {
    .js .feature[data-reveal] .feature__media img { transform: none; }
    .js .feature[data-reveal].is-in .feature__lamp, .js .feature[data-reveal].is-in .feature__media img { animation: none; }
    .js .feature[data-reveal].is-in .feature__media::before, .js .feature[data-reveal].is-in .feature__media::after { animation: none; }
}
/* ===== Phone entrance per feature ===== */
.phones { position: relative; z-index: 1; width: min(86%, 450px); }
:root .phones { width: min(100%, 520px); }
:root .feature--wide .phones { width: min(100%, 600px); }
.feature__media .phones img { width: 100% !important; display: block; }
.feature__media .phones__base { transform: none !important; animation: none !important; }
.feature__media .phones__base { visibility: hidden; }
.feature__media .phones__part { position: absolute; inset: 0; height: 100%; z-index: 1; }
.feature__media:hover img { scale: 1; }
.feature__media:hover .phones { scale: 1.025; }
.phones { transition: scale .4s var(--ease); }
.js .feature[data-reveal].is-in .phones { animation: phone-float var(--float) 1.8s ease-in-out infinite; }
.js .feature[data-reveal] .phones__part { opacity: 0; }
.js .feature[data-reveal].is-in .phones__part { animation: ph-fade 1s var(--ease) both !important; }
/* Profili: lijevi mobitel dolazi s lijeve, desni s desne strane */
.js .feature[data-reveal].is-in .phones--profiles .phones__part--1 { animation: ph-from-left 1.1s .15s var(--ease) both !important; }
.js .feature[data-reveal].is-in .phones--profiles .phones__part--2 { animation: ph-from-right 1.1s .35s var(--ease) both !important; }
/* Ads: fades in slowly, from blurred to sharp */
.js .feature[data-reveal].is-in .phones--seeking .phones__part { animation: ph-blur-in 1.6s .2s ease-out both !important; }
/* Search: the middle phone rises, the side ones slide out from behind it */
.js .feature[data-reveal].is-in .phones--search .phones__part--2 { z-index: 2; animation: ph-rise 1s .1s var(--ease) both !important; }
.js .feature[data-reveal].is-in .phones--search .phones__part--1 { animation: ph-out-left 1s .7s var(--ease) both !important; }
.js .feature[data-reveal].is-in .phones--search .phones__part--3 { animation: ph-out-right 1s .7s var(--ease) both !important; }
/* Messages: arrive one after another, like messages */
.js .feature[data-reveal].is-in .phones--messaging .phones__part { animation: ph-pop .8s var(--ease) both !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part--1 { animation-delay: .15s !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part--2 { animation-delay: .45s !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part--3 { animation-delay: .75s !important; }
/* Calendar: slides diagonally, along the way the phones lie */
.js .feature[data-reveal].is-in .phones--calendar .phones__part { animation: ph-diagonal 1.3s .15s var(--ease) both !important; }
@keyframes ph-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ph-from-left { from { opacity: 0; transform: translateX(-55%) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes ph-from-right { from { opacity: 0; transform: translateX(55%) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes ph-blur-in { from { opacity: 0; filter: blur(14px); transform: scale(.97); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes ph-rise { from { opacity: 0; transform: translateY(28%); } to { opacity: 1; transform: none; } }
@keyframes ph-out-left { from { opacity: 0; transform: translateX(34%) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes ph-out-right { from { opacity: 0; transform: translateX(-34%) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes ph-pop { 0% { opacity: 0; transform: translateY(22%) scale(.9); } 70% { opacity: 1; transform: translateY(-2%) scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes ph-diagonal { from { opacity: 0; transform: translate(28%, -18%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .js .feature[data-reveal] .phones__part { opacity: 1; }
    .js .feature[data-reveal].is-in .phones__part, .js .feature[data-reveal].is-in .phones { animation: none !important; }
}
/* ===== Smoother, slower phone entrances ===== */
.feature { --ease-glide: cubic-bezier(.16, 1, .3, 1); }
.js .feature[data-reveal] .phones__part { will-change: transform, opacity; filter: brightness(.38); transition: filter 1.8s .2s ease-out; }
.js .feature[data-reveal].is-in .phones__part { filter: none; }
.js .feature[data-reveal].is-in .phones { animation: phone-float var(--float) 2.6s ease-in-out infinite; }
.js .feature[data-reveal].is-in .feature__lamp { animation: swing 2.2s var(--ease-glide) both, feat-sway var(--sway) 2.2s ease-in-out infinite; }
.js .feature[data-reveal].is-in .phones--profiles .phones__part--1 { animation: ph-from-left 2s .1s var(--ease-glide) both !important; }
.js .feature[data-reveal].is-in .phones--profiles .phones__part--2 { animation: ph-from-right 2s .4s var(--ease-glide) both !important; }
.js .feature[data-reveal].is-in .phones--seeking .phones__part { animation: ph-blur-in 2.4s .1s cubic-bezier(.33, 0, .2, 1) both !important; }
.js .feature[data-reveal].is-in .phones--search .phones__part--2 { animation: ph-rise 1.9s .05s var(--ease-glide) both !important; }
.js .feature[data-reveal].is-in .phones--search .phones__part--1, .js .feature[data-reveal].is-in .phones--search .phones__part--3 { animation-duration: 1.9s !important; animation-delay: .75s !important; animation-timing-function: var(--ease-glide) !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part { animation: ph-pop 1.6s var(--ease-glide) both !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part--1 { animation-delay: .1s !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part--2 { animation-delay: .5s !important; }
.js .feature[data-reveal].is-in .phones--messaging .phones__part--3 { animation-delay: .9s !important; }
.js .feature[data-reveal].is-in .phones--calendar .phones__part { animation: ph-diagonal 2.3s .1s var(--ease-glide) both !important; }
/* Shorter moves; opacity arrives before the motion so nothing pops */
@keyframes ph-from-left { 0% { opacity: 0; transform: translateX(-32%) rotate(-5deg); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ph-from-right { 0% { opacity: 0; transform: translateX(32%) rotate(5deg); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ph-blur-in { 0% { opacity: 0; filter: blur(8px); transform: scale(.985); } 60% { opacity: 1; } 100% { opacity: 1; filter: blur(0); transform: none; } }
@keyframes ph-rise { 0% { opacity: 0; transform: translateY(16%); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ph-out-left { 0% { opacity: 0; transform: translateX(26%) scale(.94); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ph-out-right { 0% { opacity: 0; transform: translateX(-26%) scale(.94); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ph-pop { 0% { opacity: 0; transform: translateY(14%) scale(.96); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ph-diagonal { 0% { opacity: 0; transform: translate(18%, -11%); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.js .feature[data-reveal].is-in .feature__media::before { animation: lamp-on .95s .1s both, feat-sway var(--sway) 2.2s ease-in-out infinite, beam-breathe 4.2s 1.2s ease-in-out infinite; }
.js .feature[data-reveal].is-in .feature__media::after { animation: lamp-on .95s .1s both, pool-follow var(--sway) 2.2s ease-in-out infinite; }
/* ===== Phone entrance. Phones are always opaque, so the beam never shows through them ===== */
html.js .feature[data-reveal] .phones__part { transform: none; animation: none; }
html.js .feature[data-reveal] .phones__part { opacity: 1 !important; filter: brightness(.12); transition: none; }
html.js .feature[data-reveal].is-in .phones__part { filter: none; }
/* Phones wait in the dark and flicker on with the lamp */
@keyframes ph-light { 0% { filter: brightness(.12); } 12% { filter: brightness(1); } 22% { filter: brightness(.22); } 36% { filter: brightness(1); } 44% { filter: brightness(.4); } 60%, 100% { filter: brightness(1); } }

/* Phones rise through the stage floor, one after another */
html.js:root .feature .phones { clip-path: inset(-60% -60% 0 -60%); }
html.js:root .feature[data-reveal] .phones__part { transform: translateY(102%); }
html.js:root .feature[data-reveal].is-in .phones__part { animation: ph-floor 2.4s .1s cubic-bezier(.16, 1, .3, 1) both, ph-light .95s 1.2s both !important; }
html.js:root .feature[data-reveal].is-in .phones__part--2 { animation-delay: .35s, 1.45s !important; }
html.js:root .feature[data-reveal].is-in .phones__part--3 { animation-delay: .6s, 1.7s !important; }
@keyframes ph-floor { from { transform: translateY(102%); filter: brightness(.12); } to { transform: none; filter: brightness(.12); } }

@media (prefers-reduced-motion: reduce) {
    html.js:root .feature[data-reveal] .phones__part { transform: none !important; filter: none !important; }
    html.js .feature .phones { -webkit-mask: none; mask: none; clip-path: none; }
}
/* ===== Phones rise through the floor ===== */
html.js:root .feature[data-reveal] .phones__part { filter: none; }
html.js:root .feature[data-reveal].is-in .phones__part { animation: ph-floor 2.4s .1s cubic-bezier(.16, 1, .3, 1) both, ph-blink .9s 1.75s ease-in-out both !important; }
html.js:root .feature[data-reveal].is-in .phones__part--2 { animation-delay: .35s, 2s !important; }
html.js:root .feature[data-reveal].is-in .phones__part--3 { animation-delay: .6s, 2.25s !important; }
@keyframes ph-floor { from { transform: translateY(102%); } to { transform: none; } }
@keyframes ph-blink { 0%, 100% { filter: brightness(1); } 18% { filter: brightness(.45); } 34% { filter: brightness(1.12); } 52% { filter: brightness(.6); } 70% { filter: brightness(1); } }
/* No flicker: the phones just rise from the floor */
html.js:root .feature[data-reveal].is-in .phones__part { animation: ph-floor 2.4s .1s cubic-bezier(.16, 1, .3, 1) both !important; }
html.js:root .feature[data-reveal].is-in .phones__part--2 { animation-delay: .35s !important; }
html.js:root .feature[data-reveal].is-in .phones__part--3 { animation-delay: .6s !important; }
/* ===== Section colours (lamp, beam, pool of light, subtitle) as on the live site ===== */
#feature-profiles { --gel: #5640ae; }
#feature-seeking { --gel: #705a1e; }
#feature-search { --gel: #be6b45; }
#feature-messaging { --gel: #3c5b3c; }
#feature-calendar { --gel: #4561be; }
/* ===== Speech bubble: rounded; right of Buddy the tail points left ===== */
.bubble { border-radius: 16px; }
.bubble.right { left: auto; right: -3%; transform-origin: 100% 100%; }
.bubble.right::after { right: auto; left: -11px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
/* ===== Comic-style curved tail pointing at Buddy ===== */
:where(:root:not([data-theme="dark"])) .bubble::after, :where(:root:not([data-theme="dark"])) .bubble.right::after { display: block; content: ""; position: absolute; top: calc(100% - 1.5px); bottom: auto; left: auto; right: 16%; width: 30px; height: 24px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-1%20-1%2032%2025%22%3E%3Cpath%20d%3D%22M0%2C0%20C5%2C9%2014%2C17%2030%2C23%20C21%2C15%2019%2C8%2019%2C0%20Z%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M0.8%2C0%20C5.5%2C9.4%2014.5%2C17.4%2030%2C23%20C21%2C15%2019%2C8%2019%2C0%22%20fill%3D%22none%22%20stroke%3D%22%23dddcef%22%20stroke-width%3D%221.5%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; clip-path: none; transform: none; }
:where(:root[data-theme="dark"]) .bubble::after, :where(:root[data-theme="dark"]) .bubble.right::after { display: block; content: ""; position: absolute; top: calc(100% - 1.5px); bottom: auto; left: auto; right: 16%; width: 30px; height: 24px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22-1%20-1%2032%2025%22%3E%3Cpath%20d%3D%22M0%2C0%20C5%2C9%2014%2C17%2030%2C23%20C21%2C15%2019%2C8%2019%2C0%20Z%22%20fill%3D%22%23ffffff%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; clip-path: none; transform: none; }
.bubble.right::after { right: auto; left: 16%; transform: scaleX(-1); }
/* The guitar lead has the same colour as the page cable */
.stage { --cable: var(--tungsten); }

/* Bubble above the head (no room at the side): tail in the middle, pointing down */
.bubble { z-index: 6; }
.bubble.bubble--top { transform-origin: 50% 100%; }
/* ===== Hero download block ===== */
.stage .ticket { display: none !important; }
.get-app { display: flex; align-items: center; gap: 1rem; }

.get-app__side { display: flex; flex-direction: column; gap: .55rem; }
/* ===== QR ticket in the hero (desktop only) ===== */

@media (min-width: 900px) {
    :root .ticket { display: flex !important; }
    /* larger ticket: 104 px QR, notches on the dashed line */
    .ticket { --notch: 124px; max-width: 300px; gap: 1rem; padding: .75rem 1.3rem .75rem .75rem; font-size: .74rem;
        -webkit-mask: radial-gradient(circle 9px at var(--notch) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--notch) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
                mask: radial-gradient(circle 9px at var(--notch) 0, transparent 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--notch) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat; }
    .ticket .ticket__qr { width: 104px; height: 104px; }
    .ticket .ticket__text { padding-left: 1rem; }
    /* The pass hangs from the lighting truss */
    :root .stage .ticket { --notch: 128px; position: absolute; left: -9%; right: auto; top: 37%; bottom: auto; z-index: 4; width: 150px; max-width: none;
        flex-direction: column; align-items: center; text-align: center; gap: .8rem; padding: .8rem .8rem 1rem;
        -webkit-mask: radial-gradient(circle 9px at 0 var(--notch), transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% var(--notch), transparent 97%, #000) right / 51% 100% no-repeat;
                mask: radial-gradient(circle 9px at 0 var(--notch), transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% var(--notch), transparent 97%, #000) right / 51% 100% no-repeat;
        transform-origin: 50% -34vh; rotate: 0deg; animation: pass-swing 6s ease-in-out infinite; }
    :root .stage .ticket .ticket__text { padding: .8rem 0 0; border-left: 0; border-top: 2px dashed var(--ink); }
    :root .stage .ticket:hover { scale: 1.05; }
    
    @keyframes pass-swing { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
    @keyframes pass-swing-cord { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }
}

@media (prefers-reduced-motion: reduce) {
    :root .stage .ticket { animation: none; }
}
/* The guitar lead is as thick as the page cable, so the join does not show */
.stage [data-part="cable"] path:first-child { stroke-width: 80px; }
.stage [data-part="cable"] path:last-child { stroke-width: 40px; }
:where(:root:not([data-theme="dark"])) .stage [data-part="cable"] path:first-child { stroke: #1d1c33; }
/* The pass stays put: no cord, no swinging */
@media (min-width: 900px) {
    :root .stage .ticket { animation: pop .6s var(--bounce) 1.2s both; rotate: -3deg; }
}
/* Upright ticket between the buttons and the stage; the cable join under the stage stays visible */
@media (min-width: 900px) {
    :root .stage .ticket { top: auto; bottom: 5%; left: -44%; rotate: -3deg; }
    :root .stage .ticket { bottom: -8%; }
}
/* Ticket where the pass used to hang, closer to the text */
@media (min-width: 900px) {
    :root .stage .ticket { top: 37%; bottom: auto; left: -14%; }
}
/* Guitar lead meets the page cable with flat ends, so there is no dark seam */
.cable path, .stage [data-part="cable"] path { stroke-linecap: butt; }
/* Ticket a little further left, towards the text */
@media (min-width: 900px) {
    :root .stage .ticket { left: -21%; }
}
/* Light theme: the ticket notches get the same outline as the ticket edge */
@media (min-width: 900px) {
    :root:where(:not([data-theme="dark"])) .stage .ticket::before, :root:where(:not([data-theme="dark"])) .stage .ticket::after { content: ""; position: absolute; top: calc(var(--notch) - 12px); width: 21px; height: 21px; box-sizing: border-box;
        border: 1.5px solid var(--stage-line); border-radius: 50%; pointer-events: none; }
    :root:where(:not([data-theme="dark"])) .stage .ticket::before { left: -12px; }
    :root:where(:not([data-theme="dark"])) .stage .ticket::after { right: -12px; }
}
/* Ticker: the long ad texts scroll slower so they can be read */
.ticker .ticker__track { animation-duration: 110s; }

/* Start jack a little higher, so all of it shows above the ticker */
.stage__socket { bottom: 5%; }
/* Below 900 px the cable leaves the stage right on the edge of the pool of light. The pool is see-through and lies over the
   page cable, so its rim tinted the first pixels of it and the join looked broken; the pool now ends just above the join. */
@media (max-width: 899px) {
    .hero .stage__pool { bottom: 6%; }
}
/* Ticker closer to the hero: the hero is only as tall as it needs */
@media (min-width: 900px) {
    .hero__inner { min-height: 0; padding-bottom: 1.6rem; }
}
/* Ticker: sentence case instead of upper case */
.ticker__list li { text-transform: none; }
/* Ticker: dark text on white, for contrast */
:where(:root:not([data-theme="dark"])) .ticker { color: #1d1c33; }
/* Ticker: lighter text on dark, for contrast */
:where(:root[data-theme="dark"]) .ticker { color: #e6e5f5; }
.ticket.ticket--wait { visibility: hidden; }
/* Bubble above the head (phones): the same curved tail as on desktop, turned towards the head */
.bubble.bubble--top::after, .bubble.bubble--top.right::after { left: auto; right: 14%; width: 30px; height: 24px; transform: scaleX(-1); }   /* tail on the right, curving back towards the head */
/* The cable goes into the amp's jack */
.amp { z-index: 0; }


/* Plug: seen from the side while it travels, from the front once it sits in the jack */

.cable__in { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.cable__in path { fill: none; stroke-linecap: butt; }
.cable__in-outline { stroke: var(--ink); stroke-width: var(--cable-w, 9px); }
.cable__in-line { stroke: var(--tungsten); stroke-width: calc(var(--cable-w, 9px) / 2); }
.cable__in-barrel { fill: #2a2838; stroke: var(--ink); stroke-width: 2.5; }
.cable__in-band { fill: var(--tungsten); stroke: var(--ink); stroke-width: 2; }
.cable__in-pin { fill: #cfd0dc; stroke: var(--ink); stroke-width: 1.5; }
.cable.is-plugged .cable__plug { opacity: 0; transition: opacity .12s .1s; }
.cable.is-plugged .cable__in { opacity: 1; animation: plug-in .35s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes plug-in { 0% { opacity: 0; transform: scale(1.35); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
/* BandsBuddy sign: outline while off, flickers on when the cable is plugged in */
@keyframes sign-flicker { 0% { color: transparent; } 8% { color: var(--sign-on); } 16% { color: transparent; } 30% { color: var(--sign-on); } 38% { color: transparent; } 54%, 100% { color: var(--sign-on); } }

/* Sign styles: unlit (outline) until the cable reaches the amp */
:where(:root:not([data-theme="dark"])) .site-footer__tagline { color: #4c4cb4; }
:where(:root[data-theme="dark"]) .site-footer__tagline { color: #8f90ff; }
/* Simpler plug, without the rounded metal tip */
.cable__plug path { display: none; }
/* Footer: sign centred, tagline and links below it */
.site-footer__tagline { text-align: center; }
.site-footer__links { justify-content: center; }
/* Light theme: dark footer */
:root:where(:not([data-theme="dark"])) .site-footer { background: #1d1c33; border-top-color: #1d1c33; color: #e6e5f5; }
:root:where(:not([data-theme="dark"])) .site-footer__tagline { color: #b9baff; }
:root:where(:not([data-theme="dark"])) .site-footer__links a, :root:where(:not([data-theme="dark"])) .site-footer__top { color: #f4f4f8; }
:root:where(:not([data-theme="dark"])) .site-footer__links { border-bottom-color: rgba(255, 255, 255, .12); }
:root:where(:not([data-theme="dark"])) .site-footer__bottom, :root:where(:not([data-theme="dark"])) .site-footer__rights { color: #a5a4c8; }
/* Footer: tagline and links left-aligned */
:root .site-footer__tagline { text-align: left; }
:root .site-footer__links { justify-content: flex-start; }
/* Less space at the top of the footer, so it sits close to the amp */
.site-footer__inner { padding-top: clamp(1.2rem, 2.6vw, 2rem); }
/* Amp: top panel with the input and knobs, speaker grille with the big BandsBuddy logo below.
   The logo is unlit (outline) until the cable reaches the jack, then it flickers on like the lamps and stays lit. */
.amp { display: block; height: auto; padding: 0; overflow: hidden; }
.amp__panel { display: flex; align-items: center; gap: clamp(.8rem, 2.2vw, 1.8rem); height: 84px; padding: 0 clamp(1rem, 3vw, 2rem); }

:where(:root:not([data-theme="dark"])) .amp__grille { --sign-on: #ffffff; --sign-off: rgba(255, 255, 255, .32); display: grid; place-items: center; height: clamp(120px, 15vw, 200px); border-top: 3px solid var(--ink);
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 7px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 7px), #17162b; }
:where(:root[data-theme="dark"]) .amp__grille { --sign-on: #f4f4f8; --sign-off: rgba(244, 244, 248, .3); display: grid; place-items: center; height: clamp(120px, 15vw, 200px); border-top: 3px solid var(--ink);
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 7px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 7px), #17162b; }
.amp__logo { font: 400 clamp(2rem, 7.6vw, 6rem)/1 var(--f-brand); white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--sign-off); transition: -webkit-text-stroke-color .3s; }
.amp.is-on .amp__logo { color: var(--sign-on); -webkit-text-stroke-color: var(--sign-on); animation: sign-flicker 1.1s .25s both; }
@media (prefers-reduced-motion: reduce) {
    .amp.is-on .amp__logo { animation: none; }
}
/* The big sign lives on the amp, not in the footer */
.site-footer__inner { padding-top: clamp(2.2rem, 5vw, 3.4rem); }
/* Theme toggle in the header: a moon in the light theme, a sun in the dark one */
.theme-toggle { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border-radius: 10px; cursor: pointer;
    color: var(--text, #e6e5f5); background: transparent; border: 1px solid var(--stage-line); transition: background-color .2s, color .2s, rotate .4s var(--bounce); }
.theme-toggle:hover { background: var(--stage-lift); }
.theme-toggle:active { rotate: -20deg; }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.theme-toggle__moon { fill: currentColor; }
.theme-toggle__sun { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle__sun circle { fill: currentColor; stroke: none; }
[data-theme="light"] .theme-toggle__sun, [data-theme="dark"] .theme-toggle__moon { display: none; }
.site-header__tools { display: flex; align-items: center; gap: .6rem; }
:where(:root:not([data-theme="dark"])) .theme-toggle { color: #1d1c33; }
/* QR ticket in the download section: notches outlined like the ticket edge */
:where(:root:not([data-theme="dark"])) .ticket--flat { position: relative; }
:where(:root:not([data-theme="dark"])) .ticket--flat::before, :where(:root:not([data-theme="dark"])) .ticket--flat::after { content: ""; position: absolute; left: calc(var(--notch, 94px) - 12px); width: 21px; height: 21px; box-sizing: border-box; border: 1.5px solid var(--stage-line); border-radius: 50%; pointer-events: none; }
:where(:root:not([data-theme="dark"])) .ticket--flat::before { top: -12px; }
:where(:root:not([data-theme="dark"])) .ticket--flat::after { bottom: -12px; }
/* Narrow screens: smaller header buttons, and the logo text shrinks with the screen so it always fits next to them */
@media (max-width: 480px) {
    .site-header__inner { gap: .5rem; }
    .logo { gap: .4rem; }
    .logo__mark { width: 32px; height: 34px; }
    .logo__text { font-size: clamp(10px, 14vw - 34px, 1.05rem); white-space: nowrap; }
    .theme-toggle { width: 34px; height: 34px; }
    .burger { width: 38px; height: 38px; }
    .burger span { left: 9px; right: 9px; }
    .burger span:nth-child(1) { top: 10px; }
    .burger span:nth-child(2) { top: 18px; }
    .burger span:nth-child(3) { top: 26px; }
    .burger[aria-expanded="true"] span:nth-child(1), .burger[aria-expanded="true"] span:nth-child(3) { top: 18px; }
    .site-header__tools { gap: .3rem; }
    .lang__item { padding: .5em .55em; }
}
/* Footer always at the bottom: the cable (drawn over the whole page) must not make the page longer than its content,
   and on short pages the content stretches so the footer sits at the bottom of the screen */
[data-cable] { position: relative; overflow: clip; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }
/* Mission: the zebra-crossing sleeve art fills the cover */
.sleeve__cover--art { padding: 0; overflow: hidden; }
.sleeve__cover--art::before { display: none; }
.sleeve__cover--art img { display: block; width: 100%; height: 100%; }
/* Last stage (above the amp): the lamps stay off until the cable is plugged in, then flicker on */
.download__stage .stage__beam { height: calc(90% - 26px); }
.download__stage .stage__beam-set { opacity: 0; transition: opacity .4s; }
.download__stage .rig i::after { background: var(--stage-line); transition: background .3s; }
.download__stage .stage__pool { opacity: .35; transition: opacity .4s; }
html.amp-on .download__stage .stage__beam-set { --lit: 1; opacity: 1; animation: lamp-on .95s .15s both; }
html.amp-on .download__stage .rig i::after { background: var(--white); }
html.amp-on .download__stage .stage__pool { --lit: 1; opacity: 1; animation: lamp-on .95s .15s both; }
@media (prefers-reduced-motion: reduce) {
    html.amp-on .download__stage .stage__beam-set, html.amp-on .download__stage .stage__pool { animation: none; }
}
/* Light theme: unlit lenses are dark */
:where(:root:not([data-theme="dark"])) .download__stage .rig i::after { background: #4a4b6e; }
html.amp-on:where(:not([data-theme="dark"])) .download__stage .rig i::after { background: rgb(111, 112, 216); }
html.amp-on:where(:not([data-theme="dark"])) .download__stage .rig i:nth-child(3)::after { background: rgb(76, 76, 180); }

/* Reduced motion: no phone entrance. Last, and as specific as the entrance rules, so it wins over them */
@media (prefers-reduced-motion: reduce) {
    html.js:root .feature[data-reveal].is-in .phones--profiles .phones__part,
    html.js:root .feature[data-reveal].is-in .phones--seeking .phones__part,
    html.js:root .feature[data-reveal].is-in .phones--search .phones__part,
    html.js:root .feature[data-reveal].is-in .phones--messaging .phones__part,
    html.js:root .feature[data-reveal].is-in .phones--calendar .phones__part,
    html.js:root .feature[data-reveal].is-in .phones__part { animation: none !important; }
}

/* "Why BandsBuddy": the band comes out of the phone (resources/js/band.js) ------------ */
.band { position: relative; width: 100%; aspect-ratio: 1080 / 600; }
.band__phone, .band__chars, .band__chars svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.band__chars svg { overflow: visible; }
.js .band:not(.is-playing) .band__chars { visibility: hidden; }        /* nobody on stage until the band walks in */
.band .enter { transform-box: fill-box; transform-origin: 50% 100%; }
.band .measuring .who, .band .who--guitarist, .band .who--drummer { animation: none !important; }   /* the guitarist stands, the kit does not squash */
.band .e-drummer:not(.drummer-visible) { opacity: 0; }
/* the mic has its own spot and appears when the singer gets there */
.band .mic-fixed { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.band .mic-fixed.on { animation: band-mic .55s cubic-bezier(.34, 1.56, .64, 1) both; }
/* dark theme: the black mic stand would disappear, so it is light grey */
:where(:root[data-theme="dark"]) .band [id="singer_mic_01_pole"] { stroke: #c9c8d6; }
:where(:root[data-theme="dark"]) .band [id="singer_mic_01_base"], :where(:root[data-theme="dark"]) .band [id="singer_mic_01_head"] { fill: #b4b3c4; }
/* the screen is a window: guitarist and singer are cut at its edges until they step out */
.band.is-playing .band__chars { animation: band-window 2.7s .15s linear both; }
.band.is-playing .e-guitarist { animation: band-walk-l 2.5s .15s linear both; }
.band.is-playing .e-singer { animation: band-walk-r 2.5s .15s linear both; }
.band.is-in .band__chars, .band.is-in .e-guitarist, .band.is-in .e-singer { animation: none; }   /* the same end state, without a leftover layer */
@keyframes band-window { 0%, 58% { clip-path: inset(9.58% 9.07% 19.17% 6.48% round 2%); } 100% { clip-path: inset(-30% -30% -30% -30% round 0); } }
@keyframes band-walk-l { 0% { transform: translate(-80%, -4%) scale(.7); } 10% { transform: translate(-64%, -8%) scale(.7); } 20% { transform: translate(-48%, -4%) scale(.7); } 30% { transform: translate(-32%, -8%) scale(.7); } 40% { transform: translate(-18%, -4%) scale(.7); } 50% { transform: translate(-10%, -6%) scale(.72); } 75% { transform: translate(-4%, -10%) scale(.92); } 100% { transform: none; } }
@keyframes band-walk-r { 0% { transform: translate(80%, -4%) scale(.7); } 10% { transform: translate(64%, -8%) scale(.7); } 20% { transform: translate(48%, -4%) scale(.7); } 30% { transform: translate(32%, -8%) scale(.7); } 40% { transform: translate(18%, -4%) scale(.7); } 50% { transform: translate(10%, -6%) scale(.72); } 75% { transform: translate(4%, -10%) scale(.92); } 100% { transform: none; } }
@keyframes band-mic { 0% { opacity: 0; transform: scale(.2, .1); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .band *, .band.is-playing .band__chars, .band.is-playing .enter { animation: none !important; }
    .band .mic-fixed, .band .e-drummer { opacity: 1; }
}

/* Dark theme: the legal text sits on a dark sheet instead of the white paper one */
:where(:root[data-theme="dark"]) .privacy_text, :where(:root[data-theme="dark"]) .terms_text { color: var(--text); background: var(--stage-lift); border: 1px solid var(--stage-line); }
:where(:root[data-theme="dark"]) .privacy_text :is(h2, h3), :where(:root[data-theme="dark"]) .terms_text :is(h2, h3) { color: var(--white); }
:where(:root[data-theme="dark"]) .privacy_text a, :where(:root[data-theme="dark"]) .terms_text a,
:where(:root[data-theme="dark"]) .privacy_text li::marker, :where(:root[data-theme="dark"]) .terms_text li::marker { color: var(--lavender); }
:where(:root[data-theme="dark"]) .privacy_text a:hover, :where(:root[data-theme="dark"]) .terms_text a:hover { color: var(--ink); background: var(--lavender); }
:where(:root[data-theme="dark"]) .privacy_text td, :where(:root[data-theme="dark"]) .terms_text td { border-bottom-color: rgba(255, 255, 255, .14); }
:where(:root[data-theme="dark"]) .privacy_text th, :where(:root[data-theme="dark"]) .terms_text th { color: var(--white); background: var(--stage-line); }
:where(:root[data-theme="dark"]) .tab { color: var(--muted); background: rgba(255, 255, 255, .04); }
:where(:root[data-theme="dark"]) .tab:hover { color: var(--white); background: var(--stage-line); }
:where(:root[data-theme="dark"]) .tab.is-active { color: var(--white); background: var(--stage-lift); }   /* the open tab joins its sheet */
:where(:root[data-theme="dark"]) .update-text { color: #ff8a9e; border-color: #ff8a9e; }   /* a lighter red reads better on the dark sheet */

/* Menu labels stay on one line; on the narrowest desktop widths the links move a little closer together */
@media (min-width: 1000px) and (max-width: 1099px) { .site-nav__link { padding-inline: .55em; } .site-nav__link::after { left: .55em; right: .55em; } }

/* Light theme legal tabs: the open tab is the white sheet itself, the other one sits back in lilac */
:where(:root:not([data-theme="dark"])) .tab { color: var(--muted); background: #e9e8f6; border: 1px solid transparent; border-bottom: 0; }
:where(:root:not([data-theme="dark"])) .tab:hover { color: var(--white); background: var(--stage-line); }
:where(:root:not([data-theme="dark"])) .tab.is-active { position: relative; z-index: 1; margin-bottom: -1px; color: var(--white); background: var(--paper); border-color: var(--stage-line); }

/* Dark theme: the feature colours a step lighter, so they read on the dark stage */
:where(:root[data-theme="dark"]) #feature-profiles { --gel: #8b78e6; }
:where(:root[data-theme="dark"]) #feature-seeking { --gel: #d9b54e; }
:where(:root[data-theme="dark"]) #feature-search { --gel: #ef9a72; }
:where(:root[data-theme="dark"]) #feature-messaging { --gel: #72c076; }
:where(:root[data-theme="dark"]) #feature-calendar { --gel: #819ef2; }
/* The open legal tab is purple in both themes */
.tab.is-active { color: #fff; background: var(--indigo); border-color: var(--indigo); }
/* Below 900 px the speech bubble sits above Buddy's head: the lamps hang 40 px higher so the bubble does not cover them */
@media (max-width: 899px) {
    .hero .stage { margin-top: 40px; }
    .hero .rig, .hero .stage__beam-set { top: -40px; }
}
/* Small screens: the mission's own bottom padding is enough space above the download section */
@media (max-width: 899px) {
    .download { padding-top: .75rem; }
}
/* Download stage below 900 px: the lamps hang a little higher, clear of Buddy's head */
@media (max-width: 899px) {
    .download__stage { margin-top: calc(1.5rem + 24px); }
    .download__stage .rig, .download__stage .stage__beam-set { top: -24px; }
}
/* Narrow phones: two knobs, so the amp's power light still fits on the panel */
@media (max-width: 419px) {
    .amp__knobs i:nth-child(n+3) { display: none; }
}
/* The BandsBuddy sign shrinks with the amp on narrow phones, so it always fits on the grille */
.amp__logo { font-size: min(clamp(2rem, 7.6vw, 6rem), 10vw - 4px); }
/* Feature lamps shrink with the phones on narrow screens (full size from about 515 px up) */
:root .feature__media { --lw: clamp(22px, 7vw, 36px); }
.feature__lamp { width: var(--lw); height: calc(var(--lw) * .78); margin-left: calc(var(--lw) / -2); border-radius: calc(var(--lw) * .14) calc(var(--lw) * .14) calc(var(--lw) * .36) calc(var(--lw) * .36); }
.feature__lamp::after { left: calc(var(--lw) * .11); right: calc(var(--lw) * .11); bottom: calc(var(--lw) * -.17); height: calc(var(--lw) * .28); }
.feature__media::before { top: calc(var(--lw) * .72); transform-origin: 50% calc(var(--lw) * -.67); }
/* below 900 px the phones start a little lower, so they never touch the lamp */
@media (max-width: 899px) {
    :root .feature__media { padding-top: calc(var(--lw) * 1.0 + 20px); }
}
/* Stage lamps (hero and download) shrink with the stage on narrow screens too (full size from 400 px up) */
.rig { --lw: clamp(18px, 6.5vw, 26px); }
.rig i { width: var(--lw); height: calc(var(--lw) * .77); margin-left: calc(var(--lw) / -2); }
.rig i::after { left: calc(var(--lw) * .12); right: calc(var(--lw) * .12); bottom: calc(var(--lw) * -.19); height: calc(var(--lw) * .31); }
/* Narrowest phones (below 360 px): header buttons one size smaller, so logo, theme, language and menu fit in one row */
@media (max-width: 359px) {
    .site-header__inner { gap: .35rem; }
    .logo { gap: .25rem; }
    .logo__mark { width: 26px; height: 28px; }
    .logo__text { font-size: 9px; }
    .theme-toggle { width: 30px; height: 30px; }
    .theme-toggle svg { width: 17px; height: 17px; }
    .burger { width: 32px; height: 32px; }
    .burger span { left: 7px; right: 7px; }
    .burger span:nth-child(1) { top: 8px; }
    .burger span:nth-child(2) { top: 15px; }
    .burger span:nth-child(3) { top: 22px; }
    .burger[aria-expanded="true"] span:nth-child(1), .burger[aria-expanded="true"] span:nth-child(3) { top: 15px; }
    .site-header__tools { gap: .2rem; }
    .lang { padding: 2px; }
    .lang__item { padding: .45em .4em; font-size: .7rem; }
}
/* The headline's longest word (Povezivanjem) sets the hero's width: below 330 px the headline shrinks so it fits with the side margins */
.hero__title { font-size: min(clamp(2.1rem, 10.2vw, 4.4rem), 11.3vw); }
@media (min-width: 900px) {
    .hero__title { font-size: clamp(2.6rem, 5.3vw, 4.8rem); }
}
/* Hero button: on the narrowest phones its writing shrinks a little, so the button with its arrow stub fits the column */
.hero__actions .btn { font-size: min(.84rem, 3.7vw); }
/* Amp on phones: the power light sits a little further in from the panel's edge */
@media (max-width: 620px) {
    .amp__led { margin-right: .5rem; }
}
/* Google Play badge: never wider than its column on the narrowest phones */
.play-badge { max-width: 100%; }
.play-badge img { width: 100%; height: auto; }
/* Below 300 px (folded phones): the header sits a little closer to the screen edges, so its row still fits */
@media (max-width: 299px) {
    .site-header__inner { padding-left: 12px; padding-right: 12px; }
    .logo__text { font-size: 8px; }
}
/* Section titles: below 290 px they shrink with the screen, so a long word (BandsBuddy?) keeps the side margins */
.section-title { font-size: min(clamp(2rem, 4.8vw, 3.5rem), 11vw); }
/* Narrowest phones: smaller jack, knobs and gaps on the amp panel, so the power light keeps its distance from the edge */
@media (max-width: 359px) {
    .amp__panel { gap: .5rem; height: 72px; }
    .amp__jack { width: 26px; height: 26px; border-width: 3px; }
    .amp__knobs { gap: .4rem; }
    .amp__knobs i { width: 28px; height: 28px; }
    .amp__knobs i::after { top: 3px; height: 8px; }
}
/* Menu button: on the narrowest phones its writing shrinks, so the button with its arrow stub stays inside the menu */
@media (max-width: 999px) {
    .site-nav__cta { font-size: min(.84rem, 4.3vw); }
}
/* ===== Typography: Archivo. Headings in condensed black capitals (like a gig poster), running text in regular Archivo ===== */
h1, h2, h3 { font-weight: 900; font-stretch: 70%; text-transform: uppercase; letter-spacing: -.01em; line-height: .98; }
.hero__title { font-size: calc(min(clamp(2.1rem, 10.2vw, 4.4rem), 11.3vw) * .98); }
@media (min-width: 900px) { .hero__title { font-size: calc(clamp(2.6rem, 5.3vw, 4.8rem) * 1.15); } }
.section-title { font-size: calc(min(clamp(2rem, 4.8vw, 3.5rem), 11vw) * .98); }
.feature__title { font-size: calc(clamp(1.55rem, 6vw, 2.5rem) * 1.15); }
.feature__lead { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.3; }
/* one size for all running text: 17 px on phones, 18 px from 900 px up */
body { line-height: 1.7; }
.about .rich, .feature .rich, .mission__copy { font-size: 1.0625rem; }
@media (min-width: 900px) { body, .about .rich, .feature .rich, .mission__copy { font-size: 1.125rem; } }
/* small capitals: labels above titles, "Za glazbenike" / "Za bendove" */
:root :is(.tape, .tape--gold, .tape--indigo) { font-size: .9rem; letter-spacing: .05em; }
.rich p > b:first-child:not(:last-child) { font-size: .95rem; letter-spacing: .08em; margin-bottom: .45em; }
