@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-latin.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-latin-ext.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-latin.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-latin.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-700-latin-ext.woff2") format("woff2");
	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: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-700-latin.woff2") format("woff2");
	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;
}

/* Muzika-Balkan — site styles ("concert night" design, 2026). */

@font-face {
	font-family: "Bebas Neue";
	src: url("../fonts/bebasneue-webfont.woff") format("woff");
	font-display: swap;
}

:root {
	--night: #0e1a30;
	--stage: #16243f;
	--stage-2: #1d2e4f;
	--line: #2a3d63;
	--blue: #0493d2;
	--blue-soft: #5cc0ee;
	--spot: #f4b740;
	--text: #e8eef7;
	--muted: #93a3bf;
	--radius-cover: 6px;
	--radius-panel: 14px;
	--display: "Bebas Neue", "Arial Narrow", sans-serif;
	--body: "Barlow", system-ui, sans-serif;
	--wrap: 1200px;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 88px; }

body {
	margin: 0;
	font: 400 17px/1.55 var(--body);
	color: var(--text);
	background: var(--night);
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* -- Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(14, 26, 48, 0.86);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(42, 61, 99, 0.7);
}

.site-header .wrap {
	display: flex;
	gap: 28px;
	align-items: center;
	min-height: 68px;
}

.logo { display: block; line-height: 0; }
.logo .logo-svg { width: auto; height: 46px; }
.logo--full .logo-svg { height: 72px; }
@media (max-width: 980px) { .site-header .logo .logo-svg { height: 40px; } }

.nav { display: flex; gap: 22px; align-items: center; margin-right: auto; }
.nav-group { display: flex; gap: 2px; align-items: center; }
.nav-group + .nav-group { padding-left: 22px; border-left: 1px solid var(--line); }

.nav a {
	padding: 6px 10px;
	font-weight: 500;
	font-size: 15px;
	color: var(--muted);
	border-radius: 999px;
}

.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--stage-2); }

.header-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 260px;
	padding: 0 14px;
	height: 40px;
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: 999px;
}

.header-search svg { flex: none; color: var(--muted); }
.header-search input { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: none; border: 0; outline: 0; }
.header-search input::placeholder { color: var(--muted); }


/* -- Shared pieces */
.section { padding-block: 56px; }
.section + .section { padding-top: 0; }

.section-head {
	display: flex;
	gap: 16px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 20px;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

.title {
	font: 400 clamp(30px, 3.2vw, 40px)/1 var(--display);
	letter-spacing: 0.01em;
}

.section-head a { font-size: 15px; font-weight: 500; color: var(--blue-soft); }
.section-head a:hover { color: var(--text); }

.chip {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 7px 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: 999px;
}

.chip small { color: var(--muted); font-size: 13px; }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.8); }

.meta { font-size: 14px; color: var(--muted); }

.views { display: inline-flex; gap: 5px; align-items: center; }
.views svg { opacity: 0.7; }

/* Covers: the artist photo is the image of the site */
.cover {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--stage-2);
	border-radius: var(--radius-cover);
}

.cover img { width: 100%; height: 100%; object-fit: cover; }

.artist-card { display: grid; gap: 10px; }
.artist-card h3 { font: 600 16px/1.25 var(--body); }
.artist-card .meta { margin-top: 2px; }
.artist-card .cover img { transition: transform 0.4s ease; }
.artist-card:hover .cover img { transform: scale(1.04); }
.artist-card:hover h3 { color: var(--blue-soft); }

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 28px 20px;
}

/* -- Home: hero */
.hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hero > img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(90deg, rgba(14, 26, 48, 0.96) 0%, rgba(14, 26, 48, 0.82) 45%, rgba(14, 26, 48, 0.35) 100%),
		linear-gradient(0deg, var(--night) 0%, transparent 40%);
}

.hero .wrap { padding-block: 96px 72px; }

.hero h1 {
	max-width: 11ch;
	font: 400 clamp(56px, 8vw, 112px)/0.9 var(--display);
	letter-spacing: 0.005em;
}

.hero p { max-width: 44ch; margin: 22px 0 0; font-size: 20px; color: #c9d4e6; }

.hero-search {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 560px;
	height: 60px;
	margin-top: 32px;
	padding: 0 8px 0 22px;
	background: rgba(232, 238, 247, 0.97);
	border-radius: 999px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-search svg { flex: none; color: #4a5a78; }
.hero-search input { width: 100%; font: 500 18px var(--body); color: var(--night); background: none; border: 0; outline: 0; }
.hero-search input::placeholder { color: #6a7a96; }

.hero-search button {
	flex: none;
	height: 44px;
	padding: 0 22px;
	font: 600 16px var(--body);
	color: var(--night);
	cursor: pointer;
	background: var(--spot);
	border: 0;
	border-radius: 999px;
}

.hero-browse { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-browse .chip { background: rgba(22, 36, 63, 0.75); }

/* -- Home: just played row */
.rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 168px;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
}

.rail > * { scroll-snap-align: start; }

/* -- Home: new + most watched */
.split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; }

.new-list { display: grid; gap: 22px; }

.new-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.new-item h3 { font: 600 20px/1.2 var(--body); }
.new-item p { margin: 6px 0 8px; color: #c2cde0; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.new-item:hover h3 { color: var(--blue-soft); }

.chart {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--stage);
	border-radius: var(--radius-panel);
}

.chart li a {
	display: grid;
	grid-template-columns: 30px 48px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 10px 18px;
}

.chart li + li a { border-top: 1px solid var(--line); }
.chart li a:hover { background: var(--stage-2); }
.chart .rank { font: 400 26px/1 var(--display); color: var(--muted); text-align: right; }
.chart li:nth-child(-n+3) .rank { color: var(--spot); }
.chart .cover { width: 48px; border-radius: 4px; }
.chart b { display: block; font-weight: 600; }

/* -- Home: browse tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tiles.countries { grid-template-columns: repeat(5, 1fr); }

.tile {
	position: relative;
	display: grid;
	align-content: end;
	min-height: 190px;
	padding: 20px;
	overflow: hidden;
	isolation: isolate;
	background: var(--stage);
	border-radius: var(--radius-panel);
}

.tile .stack { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, 1fr); }
.tile .stack img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4); }
.tile::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, rgba(14, 26, 48, 0.97) 15%, rgba(14, 26, 48, 0.55) 100%); }
.tile strong { font: 400 46px/0.95 var(--display); }
.tile span { color: #c9d4e6; font-size: 15px; }
.tile:hover strong { color: var(--blue-soft); }
.countries .tile { min-height: 150px; }
.countries .tile strong { font-size: 36px; }

/* -- Home: videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.video {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 18px;
	align-items: center;
	padding: 14px;
	background: var(--stage);
	border-radius: var(--radius-panel);
}

.video .cover { aspect-ratio: 16 / 10; }
.video .play {
	position: absolute;
	inset: auto auto 10px 10px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	color: var(--night);
	background: var(--spot);
	border-radius: 50%;
}


/* -- Listing pages (genre, country) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, var(--night) 20%, rgba(14, 26, 48, 0.6)); }
.page-hero .wrap { padding-block: 56px 36px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { margin-right: 8px; content: "/"; opacity: 0.5; }
.crumbs a:hover { color: var(--text); }

.page-hero h1 { font: 400 clamp(64px, 9vw, 128px)/0.85 var(--display); }
.page-hero .count { margin-top: 10px; font-size: 19px; color: #c9d4e6; }

.intro { max-width: 68ch; margin-top: 18px; color: #c2cde0; }
.intro summary { width: max-content; margin-top: 4px; font-weight: 600; color: var(--blue-soft); cursor: pointer; list-style: none; }
.intro summary::-webkit-details-marker { display: none; }
.intro p { margin: 0 0 12px; }

.toolbar {
	position: sticky;
	top: 68px;
	z-index: 40;
	background: rgba(14, 26, 48, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.toolbar .wrap { display: grid; gap: 12px; padding-block: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }

.letters a, .letters span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	font: 400 20px/1 var(--display);
	border-radius: 6px;
}

.letters a { color: var(--text); background: var(--stage); }
.letters a:hover { background: var(--blue); }
.letters span { color: #46577a; }

.letter-group { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding-block: 32px; }
.letter-group + .letter-group { border-top: 1px solid var(--line); }

.letter-group > h2 {
	font: 400 88px/0.8 var(--display);
	color: var(--blue);
	position: sticky;
	top: 200px;
	align-self: start;
}

/* -- Artist page */
.artist-hero { position: relative; overflow: hidden; isolation: isolate; }
.artist-hero .backdrop { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(40px) saturate(1.2); opacity: 0.55; transform: scale(1.1); }
.artist-hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, var(--night) 0%, rgba(14, 26, 48, 0.55) 100%); }
.artist-hero .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: end; padding-block: 56px 40px; }
.artist-hero .cover { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }

.artist-hero h1 {
	font: 400 clamp(72px, 11vw, 168px)/0.82 var(--display);
	letter-spacing: -0.005em;
	overflow-wrap: anywhere;
}

.artist-facts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }

.stage { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }

.player {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #050a14;
	border-radius: var(--radius-panel);
	box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.45);
}

.player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: blur(2px); }

.player button {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: center;
	height: 56px;
	padding: 0 26px 0 20px;
	font: 600 18px var(--body);
	color: var(--night);
	cursor: pointer;
	background: var(--spot);
	border: 0;
	border-radius: 999px;
}

.player .note { position: absolute; bottom: 14px; left: 18px; font-size: 14px; color: var(--muted); }

.about-card { padding: 24px; background: var(--stage); border-radius: var(--radius-panel); }
.about-card h2 { font: 400 28px/1 var(--display); margin-bottom: 10px; }
.about-card p { margin: 0 0 16px; color: #c9d4e6; }
.about-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; font-size: 15px; }
.about-card dt { color: var(--muted); }
.about-card dd { margin: 0; font-weight: 600; }
.about-card dd a { display: inline-flex; gap: 7px; align-items: center; }
.about-card dd a:hover { color: var(--blue-soft); }
.members { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

.stage-main { display: grid; gap: 40px; min-width: 0; }
.bio h2 { margin-bottom: 14px; font: 400 clamp(34px, 4vw, 44px)/1 var(--display); }
.bio .prose p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; }
.bio h3 { margin: 28px 0 12px; font: 400 24px/1 var(--display); color: var(--spot); }
.songs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.songs li { padding: 7px 14px; font-weight: 600; background: var(--stage); border: 1px solid var(--line); border-radius: 999px; }

.share { display: flex; gap: 8px; }

.share a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	background: var(--stage-2);
	border-radius: 999px;
}

.share a:hover { background: var(--blue); }

/* -- Text pages */
.prose { max-width: 68ch; }
.prose p, .prose li { color: #c9d4e6; }
.prose h2 { margin: 36px 0 10px; font: 400 32px/1 var(--display); }
.prose strong { color: var(--text); }
.prose a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }

.text-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.side-links { position: sticky; top: 100px; display: grid; gap: 6px; padding: 20px; background: var(--stage); border-radius: var(--radius-panel); }
.side-links h2 { font: 400 22px/1 var(--display); margin-bottom: 6px; color: var(--muted); }
.side-links a { padding: 6px 0; font-weight: 500; }
.side-links a[aria-current="page"] { color: var(--blue-soft); }

/* -- 404 */
.lost { padding-block: 100px 40px; text-align: center; }
.lost h1 { font: 400 clamp(64px, 9vw, 120px)/0.85 var(--display); }
.lost p { max-width: 46ch; margin: 18px auto 0; font-size: 19px; color: #c9d4e6; }
.lost .hero-search { margin-inline: auto; background: var(--text); }

/* -- Footer */
.site-footer { margin-top: 40px; padding-block: 44px 36px; background: #0a1426; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { margin-bottom: 12px; font: 400 22px/1 var(--display); color: var(--muted); }
.site-footer ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #c9d4e6; }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 32ch; }
.site-footer .copyright { max-width: none; margin: 0; grid-column: 1 / -1; padding-top: 24px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* -- Phone and tablet */
@media (max-width: 980px) {
	.nav, .header-search { display: none; }
	.site-header .wrap { justify-content: space-between; min-height: 60px; }
	.split, .stage, .text-layout { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: 1fr; }
	.tiles.countries { grid-template-columns: repeat(2, 1fr); }
	.videos { grid-template-columns: 1fr; }
	.site-footer .wrap { grid-template-columns: 1fr 1fr; }
	.side-links { position: static; }
	.toolbar { top: 60px; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.section { padding-block: 40px; }
	.hero .wrap { padding-block: 56px 40px; }
	.hero p { font-size: 18px; }
	.hero-search { height: 54px; padding-left: 16px; }
	.hero-search button { padding: 0 16px; }
	.rail { grid-auto-columns: 132px; gap: 14px; }
	.new-item { grid-template-columns: 88px 1fr; gap: 14px; }
	.new-item h3 { font-size: 18px; }
	.grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
	.letter-group { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
	.letter-group > h2 { position: static; font-size: 56px; }
	.letters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.letters a, .letters span { flex: none; }
	.filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.chip { flex: none; }
	.artist-hero .wrap { grid-template-columns: 120px 1fr; gap: 18px; padding-block: 32px 24px; }
	.video { grid-template-columns: 120px 1fr; }
	.site-footer .wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.artist-card .cover img { transition: none; }
}

/* -- Additions for the real site (not in the mockups) */

[hidden] { display: none !important; }

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	font-weight: 600;
	color: var(--night);
	background: var(--spot);
	border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.visually-hidden,
.header-search button {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
	padding: 0;
}

.header-search { position: relative; }

.header-buttons { display: none; }

.round-button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--text);
	cursor: pointer;
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: 50%;
}

/* Search suggestions under any search box */
.js-search { position: relative; }

.suggestions {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	margin: 0;
	padding: 6px;
	list-style: none;
	text-align: left;
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.suggestions li {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px 10px;
	font-size: 16px;
	color: var(--text);
	cursor: pointer;
	border-radius: 8px;
}

.suggestions li[aria-selected="true"],
.suggestions li:hover { background: var(--stage-2); }

.suggestions img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.suggestions mark { color: var(--blue-soft); background: none; font-weight: 700; }

/* Ads */
.ad-slot {
	display: grid;
	gap: 8px;
	justify-items: center;
	margin-top: 24px;
	overflow: hidden;
}

.ad-label {
	font-size: 12px;
	color: var(--muted);
}

/* Between sections: a quiet full-width band with the ad in the middle. */
.ad-slot--band {
	margin: 0;
	padding: 20px 16px 24px;
	background: var(--stage);
	border-radius: var(--radius-panel);
}

.js-groups > .ad-slot--band { margin-block: 8px 24px; }

/* No ad sent: the space closes instead of leaving a gap. */
.ad-slot:has(ins[data-ad-status="unfilled"]) {
	display: none;
}

.ad-slot ins { width: 300px; height: 250px; }

/* Featured videos are buttons that become the player */
.video { width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; border: 0; }
.video:hover .video-title { color: var(--blue-soft); }
.video-title { display: block; font: 600 19px/1.25 var(--body); }
.video .meta { display: block; margin-top: 4px; }
.video.is-playing { display: block; padding: 0; overflow: hidden; }

.video-frame,
.player iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.player.is-playing { display: block; }
.player.is-playing iframe { position: relative; }
.play-button { cursor: pointer; }

/* Listing tools */
.filters .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }

.sort {
	display: inline-flex;
	gap: 2px;
	margin-left: auto;
	padding: 3px;
	background: var(--stage);
	border: 1px solid var(--line);
	border-radius: 999px;
}

.sort-button {
	padding: 5px 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--muted);
	cursor: pointer;
	background: none;
	border: 0;
	border-radius: 999px;
}

.sort-button[aria-pressed="true"] { color: var(--text); background: var(--stage-2); }

.sorted-grid { padding-block: 32px; }
.empty { padding-block: 48px; color: var(--muted); text-align: center; }

.share button {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	cursor: pointer;
	background: var(--stage-2);
	border: 0;
	border-radius: 999px;
}

.share button:hover { background: var(--blue); }

.about-site { max-width: 76ch; }
.about-site .title { margin-bottom: 14px; }

@media (max-width: 980px) {
	.site-header .wrap { flex-wrap: wrap; gap: 0 12px; }
	.header-buttons { display: flex; gap: 8px; margin-left: auto; }
	.site-header .header-search { order: 3; }
	.site-header .nav { order: 4; }
	.site-header.is-open .header-search { display: flex; width: 100%; margin-bottom: 12px; }
	.site-header.is-open .nav { display: grid; gap: 12px; width: 100%; padding-bottom: 16px; }
	.site-header.is-open .nav-group { flex-wrap: wrap; padding-left: 0; border-left: 0; }
	.site-header.is-open .nav-group + .nav-group { padding-top: 12px; border-top: 1px solid var(--line); }
	.sort { margin-left: 0; }
}

@media (max-width: 600px) {
	.filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.filters { flex-wrap: wrap; }
	.ad-slot ins { width: 100%; }
}

.letters li.is-empty a { color: #46577a; background: none; pointer-events: none; }

/* The letter rail and filter chips scroll sideways on phones, without a scrollbar. */
.letters::-webkit-scrollbar,
.filters .chips::-webkit-scrollbar { display: none; }

/* -- Flags and instruments (genre icons) */
.flag {
	display: inline-block;
	flex: none;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.gicon { flex: none; }

.nav a,
.chip,
.place-name {
	display: inline-flex;
	gap: 7px;
	align-items: center;
}

.nav-heading,
.nav .name-full,
.nav-count { display: none; }

.place { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.place-name { gap: 6px; }
.chart .place-name { display: flex; gap: 6px; align-items: center; margin-top: 2px; }

.tile-icon { margin-bottom: 6px; color: var(--blue-soft); }

.tile--country {
	min-height: 150px;
	background: linear-gradient(160deg, var(--stage-2), var(--stage));
}

.tile--country::after { display: none; }
.tile-flag .flag { width: 40px; height: 30px; margin-bottom: 10px; }

.explain { max-width: 60ch; margin: -8px 0 20px; color: #c9d4e6; }

.country-title { display: flex; gap: 18px; align-items: center; }
.country-title .flag { width: 72px; height: 54px; border-radius: 4px; }
.genre-title-icon { color: var(--blue-soft); }

@media (max-width: 980px) {
	/* The phone menu is a list: headings, the full country names, the counts. */
	.site-header.is-open .nav-group { display: grid; gap: 2px; }
	.site-header.is-open .nav-heading { display: block; margin: 4px 0; font: 400 20px/1 var(--display); color: var(--muted); }
	.site-header.is-open .nav a { gap: 12px; padding: 10px 8px; font-size: 16px; font-weight: 600; color: var(--text); border-radius: 8px; }
	.site-header.is-open .nav .name-short { display: none; }
	.site-header.is-open .nav .name-full { display: inline; }
	.site-header.is-open .nav-count { display: inline; margin-left: auto; font-weight: 500; color: var(--muted); }
}

@media (max-width: 600px) {
	.country-title { gap: 12px; }
	.country-title .flag { width: 48px; height: 36px; }
	.genre-title-icon .gicon { width: 40px; height: 40px; }
}

/* With full country names the menu needs more room than the rest of the
   layout: the header switches to the menu button below 1240px. */
@media (max-width: 1240px) {
	.nav,
	.header-search { display: none; }
	.site-header .wrap { flex-wrap: wrap; gap: 0 12px; justify-content: space-between; min-height: 60px; }
	.header-buttons { display: flex; gap: 8px; margin-left: auto; }
	.site-header .header-search { order: 3; }
	.site-header .nav { order: 4; }
	.site-header.is-open .header-search { display: flex; width: 100%; margin-bottom: 12px; }
	.site-header.is-open .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; align-items: start; width: 100%; padding-bottom: 16px; }
	.site-header.is-open .nav-group { display: grid; flex-wrap: wrap; gap: 2px; align-content: start; padding-left: 0; border-left: 0; }
	.site-header.is-open .nav-heading { display: block; margin: 4px 0; font: 400 20px/1 var(--display); color: var(--muted); }
	.site-header.is-open .nav a { gap: 12px; padding: 10px 8px; font-size: 16px; font-weight: 600; color: var(--text); border-radius: 8px; }
	.site-header.is-open .nav .name-short { display: none; }
	.site-header.is-open .nav .name-full { display: inline; }
	.site-header.is-open .nav-count { display: inline; margin-left: auto; font-weight: 500; color: var(--muted); }
	.toolbar { top: 60px; }
}

@media (max-width: 600px) {
	.site-header.is-open .nav { grid-template-columns: 1fr; }
	.site-header.is-open .nav-group + .nav-group { padding-top: 12px; border-top: 1px solid var(--line); }
}

/* Rounding left the page a fraction of a pixel wider than a phone, enough for a
   sideways wobble. clip (not hidden) keeps the sticky header and toolbar working. */
html, body { overflow-x: clip; }
