/*
Theme Name: Bienna Session
Theme URI: https://biennasession.ch
Author: Verein Bienna Session
Description: Einseitiges Theme für die Konzert- und Jam-Serie Bienna Session. Programm mit Sessions (DE/FR), Presskit-Seite.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: bienna-session
*/

/* ---------- Grundlagen ---------- */
:root {
	--neon: #DFFF00;
	--ink: #111111;
	--paper: #ffffff;
	--wrap: 1360px;
	--gutter: 24px;
	--font: 'Rotunda', 'Outfit', system-ui, -apple-system, sans-serif;
	--logo: 'Monoton', 'Rotunda', 'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--neon);
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }
a:hover { color: #3a3a3a; }
a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100;
	width: auto; height: auto; clip: auto;
	background: var(--ink); color: var(--neon);
	padding: 12px 16px; font-weight: 800;
}

.eyebrow {
	font-weight: 800;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

/* ---------- Header ---------- */
.site-header .wrap {
	padding-top: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}

.brand {
	text-decoration: none;
	display: inline-flex;
	flex-direction: column;
	line-height: 0.95;
	font-family: var(--logo);
	font-size: 30px;
	letter-spacing: 1px;
}
.brand span + span { padding-left: 28px; }
.brand img { max-height: 72px; width: auto; }

.main-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.main-nav a { text-decoration: none; }

.lang-switch {
	display: flex;
	gap: 6px;
	align-items: center;
	border: 2px solid var(--ink);
	border-radius: 999px;
	padding: 6px 12px;
	list-style: none;
	margin: 0;
}
.lang-switch li + li::before { content: '/'; margin-right: 6px; font-weight: 400; }
.lang-switch a { font-weight: 400; }
.lang-switch .current-lang a,
.lang-switch a[aria-current] { font-weight: 800; }

/* ---------- Hero ---------- */
.hero .wrap {
	padding-top: 56px;
	padding-bottom: 72px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-end;
}
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero-title {
	margin: 16px 0 0;
	font-weight: 900;
	font-size: clamp(72px, 13vw, 184px);
	line-height: 0.84;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}
.hero-title sup { font-size: 0.42em; vertical-align: 0.9em; }
.hero-intro { margin: 28px 0 0; font-size: 22px; line-height: 1.4; max-width: 620px; }

.hero-side { flex: 1 1 360px; position: relative; }
.doodle-crown { display: block; margin: 0 0 -8px 32px; }
.next-box {
	background: var(--ink);
	color: var(--neon);
	padding: 28px 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.next-box .eyebrow { font-size: 14px; }
.next-date { font-weight: 900; font-size: 64px; line-height: 0.9; }
.next-artist { font-weight: 900; font-size: 44px; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.next-time { font-size: 17px; color: #ffffff; }
.btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 20px;
	font-weight: 800;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}
.next-box .btn { align-self: flex-start; margin-top: 10px; background: var(--neon); color: var(--ink); }
.stamp { position: absolute; right: -12px; top: -40px; }

/* ---------- Programm ---------- */
.program .wrap { padding-bottom: 96px; }
.section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	border-bottom: 6px solid var(--ink);
	padding-bottom: 12px;
}
.section-title {
	margin: 0;
	font-weight: 900;
	font-size: clamp(44px, 7vw, 96px);
	line-height: 0.9;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}

.session {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	padding: 28px 0;
	border-bottom: 2px solid var(--ink);
	align-items: flex-start;
}
.session.is-past { opacity: 0.45; }
.session-date { flex: 0 0 180px; display: flex; flex-direction: column; gap: 4px; }
.session-date .d { font-weight: 900; font-size: 60px; line-height: 0.9; letter-spacing: -0.02em; }
.session-date .w { font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.session-main { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.session-artist {
	margin: 0;
	font-weight: 900;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 0.92;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}
.session-artist.is-tba { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.session-meta { font-size: 18px; }
.session-support { font-size: 15px; font-weight: 600; }
.session-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.lineup { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.lineup strong { font-weight: 800; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	border: 2px solid var(--ink);
	border-radius: 999px;
	padding: 8px 14px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	background: transparent;
	font-family: inherit;
	color: var(--ink);
	cursor: pointer;
}
.pill.solid { background: var(--ink); color: var(--neon); }

.bio { flex: 1 1 100%; }
.bio summary { list-style: none; display: inline-flex; }
.bio summary::-webkit-details-marker { display: none; }
.bio .when-open { display: none; }
.bio[open] .when-open { display: inline; }
.bio[open] .when-closed { display: none; }
.bio-body {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
	padding-left: 220px;
}
.bio-body img { width: 260px; height: 320px; object-fit: cover; filter: grayscale(1); flex: 0 0 auto; }
.bio-text { flex: 1 1 320px; max-width: 680px; font-size: 18px; line-height: 1.55; }
.bio-text p { margin: 0 0 1em; }

/* ---------- Foto ---------- */
.photo { position: relative; }
.photo img { width: 100%; height: 560px; object-fit: cover; filter: grayscale(1); }
.photo .sparkle { position: absolute; left: 8%; top: -60px; }

/* ---------- Format ---------- */
.format { background: var(--ink); color: #ffffff; }
.format .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 48px; }
.format .section-title { color: var(--neon); font-size: clamp(40px, 6vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--neon); padding-top: 20px; }
.step .n { font-weight: 900; font-size: 40px; color: var(--neon); }
.step h3 { margin: 0; font-weight: 800; font-size: 26px; text-transform: uppercase; }
.step p { margin: 0; font-size: 18px; line-height: 1.5; }

/* ---------- Infos ---------- */
.infos .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.info .big { font-weight: 900; font-size: 30px; line-height: 1.1; }
.info .small { font-size: 18px; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 6px solid var(--ink); }
.site-footer .wrap {
	padding-top: 40px;
	padding-bottom: 56px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
	align-items: flex-start;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.partners { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.partners-logos { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.partners-logos img { max-height: 56px; width: auto; }

/* ---------- Seiten (Presskit) ---------- */
.page-content .wrap { padding-top: 56px; padding-bottom: 96px; }
.page-content .entry { max-width: 860px; font-size: 20px; line-height: 1.55; }
.page-content .entry h2 { font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: 1; margin: 48px 0 16px; }
.page-content .entry a { font-weight: 800; }
.page-content .wp-block-image img { filter: grayscale(1); }

/* ---------- Handy ---------- */
@media (max-width: 720px) {
	body { font-size: 17px; }
	.site-header .wrap { padding-top: 16px; }
	.brand { font-size: 24px; }
	.main-nav { gap: 8px 18px; font-size: 14px; }
	.hero .wrap { padding-top: 32px; padding-bottom: 48px; gap: 56px; }
	.hero-intro { font-size: 19px; }
	.stamp { width: 96px; height: 96px; right: -4px; top: -48px; }
	.next-date { font-size: 52px; }
	.next-artist { font-size: 36px; }
	.session { gap: 12px; padding: 22px 0; }
	.session-date { flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 12px; }
	.session-date .d { font-size: 44px; }
	.bio-body { padding-left: 0; }
	.bio-body img { width: 100%; height: 360px; }
	.photo img { height: 320px; }
	.photo .sparkle { width: 96px; height: 96px; top: -40px; }
	.format .wrap, .infos .wrap { padding-top: 64px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
