/* ==========================================================================
   THE FUNÄS FESTIVAL — Design tokens
   ========================================================================== */

:root {
	/* Palette — warm nordic, inspired by fjäll höstfärg */
	--color-offwhite: #F7F5F0;
	--color-sand: #EAE3D6;
	--color-granite: #1C1D1B;
	--color-forest: #2B3B31;
	--color-blue-grey: #3A4650;
	--color-brass: #B08D57;
	--color-brass-light: #C9A876;
	--color-ink: #17181A;
	--color-white: #FFFFFF;

	/* Type */
	--font-serif: 'Cormorant Garamond', Georgia, serif;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	--container: 1280px;
	--gutter: clamp(24px, 5vw, 80px);

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: 300;
	color: var(--color-granite);
	background: var(--color-offwhite);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }

.serif { font-family: var(--font-serif); }

em { font-style: italic; font-family: inherit; }

p { margin: 0 0 1em; }

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

.eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-brass);
	font-weight: 500;
	margin: 0 0 1em;
}

/* ==========================================================================
   Reveal-on-scroll (progressive enhancement — visible by default)
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 36px;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid transparent;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.4s var(--ease);
	white-space: nowrap;
}
.btn--gold { background: var(--color-brass); color: var(--color-white); }
.btn--gold:hover { background: var(--color-brass-light); }
.btn--gold-outline { border-color: var(--color-brass); color: var(--color-brass); background: transparent; }
.btn--gold-outline:hover { background: var(--color-brass); color: var(--color-white); }
.btn--outline { border-color: rgba(255,255,255,0.6); color: var(--color-white); background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--color-white); }
.btn--outline-dark { border-color: var(--color-granite); color: var(--color-granite); background: transparent; }
.btn--outline-dark:hover { background: var(--color-granite); color: var(--color-white); }
.btn--disabled { border-color: #999; color: #999; opacity: 0.6; cursor: default; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 28px 0;
	transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(23, 24, 26, 0.92);
	backdrop-filter: blur(10px);
	padding: 16px 0;
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-header__logo { display: block; height: 34px; }
.site-header__logo img { height: 34px; width: auto; }
.site-header__logo .logo-color { display: none; }
.site-header__nav { display: flex; }
.site-header__menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0; padding: 0;
}
.site-header__menu a {
	color: var(--color-white);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	position: relative;
	padding-bottom: 4px;
}
.site-header__menu a::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 1px;
	background: var(--color-brass-light);
	transition: width 0.35s var(--ease);
}
.site-header__menu a:hover::after { width: 100%; }
.site-header__menu-cta {
	border: 1px solid rgba(201, 168, 118, 0.7);
	padding: 10px 20px;
	padding-bottom: 10px;
}
.site-header__menu-cta::after { display: none; }
.site-header__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.site-header__burger span {
	width: 26px; height: 1px;
	background: var(--color-white);
	display: block;
}
.mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--color-ink);
	z-index: 99;
	padding: 120px var(--gutter);
	transform: translateY(-100%);
	transition: transform 0.5s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.mobile-nav a { color: var(--color-white); font-size: 1.6rem; font-family: var(--font-serif); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	height: 100vh;
	min-height: 640px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--color-white);
	text-align: center;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video, .hero__poster {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.hero__poster { z-index: 1; transition: opacity 0.8s ease; }
.hero__video { z-index: 2; opacity: 0; transition: opacity 1s ease; }
.hero__video.is-ready { opacity: 1; }
.hero__overlay {
	position: absolute; inset: 0;
	z-index: 3;
	background: linear-gradient(180deg, rgba(10,10,9,0.55) 0%, rgba(10,10,9,0.35) 45%, rgba(10,10,9,0.6) 100%);
}
.hero__content {
	position: relative;
	z-index: 4;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	width: 100%;
}
.hero__eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.75);
	margin-bottom: 28px;
}
.hero__heading {
	font-family: var(--font-serif);
	font-size: clamp(2.8rem, 6.4vw, 5rem);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 auto 28px;
	max-width: 14ch;
}
.hero__subtext {
	max-width: 42ch;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.05rem;
	font-weight: 300;
	margin-bottom: 40px;
	color: rgba(255,255,255,0.88);
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__ctas .btn { padding: 15px 30px; font-size: 0.76rem; }

.hero__sound-toggle {
	position: absolute;
	z-index: 5;
	right: var(--gutter);
	bottom: 32px;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(0,0,0,0.3);
	border: 1px solid rgba(255,255,255,0.25);
	color: rgba(255,255,255,0.85);
	padding: 9px 16px;
	border-radius: 30px;
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 0.3s ease, border-color 0.3s ease;
}
.hero__sound-toggle:hover { background: rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.5); }
.hero__sound-icon { display: flex; align-items: center; }
.hero__sound-icon svg { display: block; }
.hero__sound-toggle .icon-unmuted { display: none; }
.hero__sound-toggle.is-muted .icon-muted { display: block; }
.hero__sound-toggle:not(.is-muted) .icon-muted { display: none; }
.hero__sound-toggle:not(.is-muted) .icon-unmuted { display: block; }

.hero__scroll-cue {
	display: none;
}
.hero__scroll-cue span {
	display: block;
	width: 1px; height: 50px;
	background: rgba(255,255,255,0.5);
	animation: scrollcue 2s var(--ease) infinite;
}
@keyframes scrollcue {
	0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
	40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
	60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
	100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   Section shell helpers
   ========================================================================== */

section { position: relative; }

/* ==========================================================================
   Intro / Om oss
   ========================================================================== */

.intro {
	background: var(--color-offwhite);
	padding: clamp(80px, 12vw, 160px) 0;
}
.intro__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(40px, 6vw, 100px);
	align-items: center;
}
.intro__image { overflow: hidden; border-radius: 2px; }
.intro__image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.intro__text h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 28px; }
.intro__body p { font-size: 1.05rem; color: #4a4a47; max-width: 52ch; }
.intro__stats {
	display: flex;
	gap: clamp(30px, 5vw, 60px);
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid rgba(0,0,0,0.1);
}
.stat { display: flex; flex-direction: column; }
.stat__number { font-size: 2.4rem; color: var(--color-brass); line-height: 1; margin-bottom: 6px; }
.stat__label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6a6a66; }

/* ==========================================================================
   Parallax / bg-image sections (quote-banner, big-banner, tickets-cta)
   ========================================================================== */

.parallax-section {
	position: relative;
	background-image: var(--bg-image);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: var(--color-white);
}
@media (max-width: 900px) {
	.parallax-section { background-attachment: scroll; }
}

.quote-banner {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 100px var(--gutter);
}
.quote-banner__overlay { position: absolute; inset: 0; background: rgba(20,20,18,0.55); }
.quote-banner__text { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.quote-banner__text p { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 400; line-height: 1.35; margin-bottom: 24px; }
.quote-banner__text cite {
	font-style: normal;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-brass-light);
}

/* ==========================================================================
   Artists
   ========================================================================== */

.artists { background: var(--color-offwhite); padding: clamp(80px, 12vw, 160px) 0; }
.artists__header {
	max-width: var(--container);
	margin: 0 auto 60px;
	padding: 0 var(--gutter);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	flex-wrap: wrap;
}
.artists__header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.artists__intro { max-width: 34ch; color: #5a5a56; font-size: 0.98rem; }
.artists__grid {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 36px);
}
.artists--archive .artists__grid { padding-top: 0; }
.artist-card { display: block; }
.artist-card__image {
	aspect-ratio: 4/5;
	overflow: hidden;
	margin-bottom: 20px;
	background: var(--color-sand);
}
.artist-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.artist-card:hover .artist-card__image img { transform: scale(1.06); }
.artist-card__name { font-size: 1.3rem; margin-bottom: 2px; }
.artist-card__role { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-brass); }
.artists__cta { text-align: center; margin-top: 60px; }

/* ==========================================================================
   Experience
   ========================================================================== */

.experience { background: var(--color-sand); padding: clamp(80px, 12vw, 160px) 0; }
.experience__header {
	max-width: var(--container);
	margin: 0 auto 80px;
	padding: 0 var(--gutter);
	text-align: center;
}
.experience__header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.experience__block {
	max-width: var(--container);
	margin: 0 auto 100px;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(30px, 6vw, 80px);
	align-items: center;
}
.experience__block:last-child { margin-bottom: 0; }
.experience__block--reverse { grid-template-columns: 0.9fr 1.1fr; }
.experience__block--reverse .experience__text { order: -1; }
.experience__image { overflow: hidden; border-radius: 2px; }
.experience__image img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.experience__text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.experience__text p { color: #4a4a47; max-width: 42ch; }

/* ==========================================================================
   Big banner (gallery + quote)
   ========================================================================== */

.big-banner {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px var(--gutter) 80px;
}
.big-banner__overlay { position: absolute; inset: 0; background: rgba(10,10,8,0.5); }
.big-banner__heading {
	position: relative; z-index: 1;
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	margin-bottom: 60px;
}
.big-banner__gallery {
	position: relative; z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 900px;
	width: 100%;
	margin-bottom: 60px;
}
.big-banner__gallery-item { aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; }
.big-banner__gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.big-banner__quote { position: relative; z-index: 1; max-width: 640px; }
.big-banner__quote p { font-size: clamp(1.1rem, 2vw, 1.4rem); font-style: italic; margin-bottom: 12px; }
.big-banner__quote cite { font-style: normal; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-brass-light); }

/* ==========================================================================
   Program
   ========================================================================== */

.program { background: var(--color-offwhite); padding: clamp(80px, 12vw, 160px) 0; }
.program__header { max-width: var(--container); margin: 0 auto 60px; padding: 0 var(--gutter); text-align: center; }
.program__header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.program__list { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.program__row {
	display: grid;
	grid-template-columns: 100px 1fr auto;
	align-items: center;
	gap: 30px;
	padding: 28px 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}
.program__row:first-child { border-top: 1px solid rgba(0,0,0,0.1); }
.program__date span { font-size: 1.8rem; color: var(--color-brass); }
.program__details h3 { font-size: 1.35rem; margin-bottom: 6px; }
.program__details p { margin: 0; color: #5a5a56; font-size: 0.9rem; }
.program__empty { text-align: center; color: #6a6a66; padding: 40px 0; }

/* ==========================================================================
   Tickets CTA
   ========================================================================== */

.tickets-cta {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 100px var(--gutter);
}
.tickets-cta__overlay { position: absolute; inset: 0; background: rgba(15,16,15,0.62); }
.tickets-cta__content { position: relative; z-index: 1; max-width: 620px; }
.tickets-cta__content h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 24px; }
.tickets-cta__content p { margin-bottom: 36px; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   Partners
   ========================================================================== */

.partners { background: var(--color-sand); padding: clamp(70px, 10vw, 120px) 0; }
.partners__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.partners__inner h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 50px; }
.partners__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(30px, 5vw, 70px);
}
.partner-item { opacity: 0.65; transition: opacity 0.3s ease; filter: grayscale(1); }
.partner-item:hover { opacity: 1; filter: grayscale(0); }
.partner-item img { max-height: 46px; width: auto; }
.partner-item__name {
	font-family: var(--font-serif);
	font-size: 1.1rem;
	color: var(--color-blue-grey);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-blue-grey); color: rgba(255,255,255,0.85); }
.site-footer__newsletter { background: var(--color-ink); padding: clamp(70px, 10vw, 110px) var(--gutter); }
.site-footer__newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.site-footer__newsletter-inner h2 { color: var(--color-white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.site-footer__newsletter-inner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input {
	flex: 1;
	min-width: 200px;
	padding: 15px 18px;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: var(--color-white);
	font-family: var(--font-sans);
	border-radius: 2px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
	padding: 15px 28px;
	background: var(--color-brass);
	color: var(--color-white);
	border: none;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.3s ease;
}
.newsletter-form button:hover { background: var(--color-brass-light); }

.site-footer__main {
	max-width: var(--container);
	margin: 0 auto;
	padding: 80px var(--gutter) 50px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}
.site-footer__logo { height: 36px; width: auto; margin-bottom: 20px; }
.site-footer__col--brand p { max-width: 32ch; font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.site-footer__col h4 { color: var(--color-white); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.site-footer__col a:hover { color: var(--color-brass-light); }
.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: 24px var(--gutter);
	text-align: center;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Generic page hero / content (used on standard pages & artist archive)
   ========================================================================== */

.page-hero {
	padding: 200px var(--gutter) 80px;
	background: var(--color-granite);
	color: var(--color-white);
	text-align: center;
}
.page-hero__inner h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-content { padding: 80px 0 120px; }
.page-content__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.page-content__inner p { color: #4a4a47; font-size: 1.05rem; }

/* ==========================================================================
   Single artist
   ========================================================================== */

.single-artist {
	max-width: var(--container);
	margin: 0 auto;
	padding: 200px var(--gutter) 120px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: start;
}
.single-artist__media { overflow: hidden; border-radius: 2px; position: sticky; top: 120px; }
.single-artist__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.back-link { display: inline-block; margin-bottom: 24px; font-size: 0.85rem; color: var(--color-brass); }
.single-artist__content h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 8px; }
.single-artist__role { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--color-brass); margin-bottom: 32px; }
.single-artist__bio { margin-bottom: 32px; color: #4a4a47; font-size: 1.05rem; max-width: 56ch; }
.single-artist__bio p { margin-bottom: 1.2em; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.artists__grid { grid-template-columns: repeat(2, 1fr); }
	.big-banner__gallery { grid-template-columns: repeat(3, 1fr); max-width: 600px; }
}

@media (max-width: 900px) {
	.site-header__nav { display: none; }
	.site-header__burger { display: flex; }
	.mobile-nav { display: block; }

	.intro__inner,
	.experience__block,
	.experience__block--reverse,
	.single-artist {
		grid-template-columns: 1fr;
	}
	.experience__block--reverse .experience__text { order: 0; }
	.single-artist__media { position: static; }

	.program__row { grid-template-columns: 70px 1fr; }
	.program__cta { grid-column: 1 / -1; margin-top: 12px; }

	.site-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.artists__grid { grid-template-columns: 1fr 1fr; }
	.big-banner__gallery { grid-template-columns: repeat(2, 1fr); }
	.site-footer__main { grid-template-columns: 1fr; }
	.hero__ctas { flex-direction: column; align-items: stretch; }
	.hero__ctas .btn { width: 100%; }
}
