/*
Theme Name: Det Store Mussestævne
Theme URI: https://xn--detstoremussestvne-2ub.dk
Description: Skræddersyet tema til Det Store Mussestævne. Forside ("Save the Date 2027") plus to arkiv-sider (2026 og 2025), der hver bevarer sit eget farvetema. Porteret 1:1 fra den oprindelige Lovable-side.
Author: Det Store Mussestævne
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: musse
*/

/* ==========================================================================
   Base / reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	min-height: 100vh;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.5;
	background: #05010f;
	color: #fff;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

@media (prefers-reduced-motion: reduce) {
	.m26-blob { animation: none !important; }
}

/* ==========================================================================
   Fælles header + footer
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(7, 2, 26, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.site-header__inner {
	margin: 0 auto;
	max-width: 72rem;
	height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.5rem;
}
.site-header__brand {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-style: italic;
	letter-spacing: 0.02em;
	color: #fff;
	font-size: 1.125rem;
	text-decoration: none;
	transition: color 0.15s;
}
.site-header__brand:hover { color: rgba(255, 255, 255, 0.8); }
.site-header__nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
}
.site-header__nav li { list-style: none; margin: 0; }
.site-header__nav a {
	display: inline-block;
	border-radius: 0.25rem;
	padding: 0.5rem 0.75rem;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: color 0.15s;
}
.site-header__nav a:hover,
.site-header__nav a.is-active,
.site-header__nav .current-menu-item > a { color: #fff; }
@media (max-width: 480px) {
	.site-header__inner { padding: 0 1rem; }
	.site-header__brand { font-size: 0.95rem; }
	.site-header__nav { gap: 0; font-size: 0.8rem; }
	.site-header__nav a { padding: 0.5rem 0.4rem; }
}

.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.site-footer__inner {
	margin: 0 auto;
	max-width: 72rem;
	padding: 2rem 1.5rem;
	text-align: center;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Mørkt brand-tema (arkiv 2026)
   ========================================================================== */
body.musse-2026 {
	background: #05010f;
	background: radial-gradient(ellipse at 30% 20%, #2a0d4a 0%, #120636 40%, #05010f 100%);
	background-attachment: fixed;
}

/* ==========================================================================
   Forside 2027 — "Save the Date" på dyb rød baggrund
   ========================================================================== */
body.musse-front {
	background: #7c1216;
	background: radial-gradient(ellipse at 50% 32%, #a5201f 0%, #7c1216 62%, #560b0e 100%);
	background-attachment: fixed;
}
/* header blender ind på den røde baggrund */
body.musse-front .site-header {
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.16);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
body.musse-front .site-header__nav a { color: rgba(255, 255, 255, 0.7); }
body.musse-front .site-header__nav a:hover,
body.musse-front .site-header__nav a.is-active,
body.musse-front .site-header__nav .current-menu-item > a { color: #fff; }
body.musse-front .site-footer { border-top-color: rgba(255, 255, 255, 0.16); }
body.musse-front .site-footer__inner { color: rgba(255, 255, 255, 0.7); }

.std27 {
	position: relative;
	min-height: calc(100vh - 3.5rem);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3.5rem 1.25rem 4.5rem;
}
.std27-inner {
	width: 100%;
	max-width: 26rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #f2e7d6;
	text-shadow: 0 1px 12px rgba(58, 6, 8, 0.55);
}

/* --- center-billedet (collage: glas + børn) --- */
.std27-hero {
	width: auto;
	max-width: min(24rem, 82vw);
	max-height: 56vh;
	height: auto;
	margin-bottom: 1.25rem;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.38));
}
.std27-hero--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 2 / 1;
	color: rgba(242, 231, 214, 0.35);
	border: 1px dashed rgba(242, 231, 214, 0.3);
	border-radius: 0.75rem;
}
.std27-hero--placeholder svg { width: 60%; height: auto; }

/* --- Save-the-Date-tekst (fra Design.pdf) --- */
.std27-date {
	font-family: "Space Grotesk", "Inter", sans-serif;
	font-size: 0.8rem;
	letter-spacing: 0.4em;
	color: #f2e7d6;
}
.std27-date span { opacity: 0.55; margin: 0 0.1em; }
.std27-script {
	margin-top: 0.5rem;
	font-family: "Caveat", "Cormorant Garamond", cursive;
	font-weight: 700;
	font-size: clamp(3.6rem, 22vw, 5.5rem);
	line-height: 0.95;
	color: #f2e7d6;
}
.std27-summit {
	margin-top: 0.75rem;
	font-family: "Space Grotesk", "Inter", sans-serif;
	font-weight: 500;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: rgba(242, 231, 214, 0.72);
}
.std27-tag {
	margin-top: 0.6rem;
	max-width: 22rem;
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.45;
	color: rgba(242, 231, 214, 0.72);
}

/* --- Google Kalender-knap --- */
.std27-cal {
	margin-top: 1.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.8rem 1.4rem;
	border-radius: 9999px;
	background: #f2e7d6;
	color: #7c1216;
	font-family: "Space Grotesk", "Inter", sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	text-decoration: none;
	transition: transform 0.15s, background 0.15s;
}
.std27-cal svg { width: 1.1rem; height: 1.1rem; }
.std27-cal:hover { transform: translateY(-1px); background: #fff; }

/* --- "While you await..." + links til arkiverne --- */
.std27-await {
	margin-top: 2rem;
	max-width: 21rem;
	font-family: "Cormorant Garamond", serif;
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.5;
	color: rgba(242, 231, 214, 0.8);
}
.std27-chapters {
	margin-top: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.std27-chapters a {
	font-family: "Space Grotesk", "Inter", sans-serif;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: #f2e7d6;
	text-decoration: none;
	border-bottom: 1px solid rgba(242, 231, 214, 0.4);
	padding-bottom: 2px;
	transition: border-color 0.15s;
}
.std27-chapters a:hover { border-color: #f2e7d6; }

/* ==========================================================================
   Arkiv 2026 — mørk / neon (porteret fra den oprindelige forside)
   ========================================================================== */
.m26 {
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	color: #fff;
	font-family: "Space Grotesk", "Inter", sans-serif;
}
.m26-content { position: relative; z-index: 10; }

/* iriserende neon-blobs */
.m26-blob {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	display: block;
	border-radius: 50%;
	mix-blend-mode: screen;
}
.m26-blob-1 {
	top: -15rem;
	left: 50%;
	width: 900px;
	height: 900px;
	transform: translateX(-50%);
	opacity: 0.2;
	filter: blur(120px);
	background: conic-gradient(from 0deg, #6c2bd9, #b026ff, #5e17eb, #2a0d4a, #6c2bd9);
	animation: m26-spin 28s ease-in-out infinite;
}
.m26-blob-2 {
	top: 20%;
	right: -15%;
	width: 600px;
	height: 600px;
	opacity: 0.15;
	filter: blur(130px);
	background: conic-gradient(from 180deg, #4a148c, #7b2cbf, #3a0ca3, #4a148c);
	animation: m26-spin-slow 40s ease-in-out infinite;
}
.m26-blob-3 {
	bottom: -10%;
	left: -10%;
	width: 600px;
	height: 600px;
	opacity: 0.1;
	filter: blur(140px);
	background: conic-gradient(from 90deg, #240046, #5a189a, #3c096c, #240046);
	animation: m26-spin-slow 40s ease-in-out infinite;
}
@keyframes m26-spin {
	0%   { transform: translateX(-50%) rotate(0deg) scale(1); }
	50%  { transform: translateX(-50%) rotate(180deg) scale(1.15); }
	100% { transform: translateX(-50%) rotate(360deg) scale(1); }
}
@keyframes m26-spin-slow {
	0%   { transform: rotate(0deg) scale(1); }
	50%  { transform: rotate(-180deg) scale(0.9); }
	100% { transform: rotate(-360deg) scale(1); }
}

/* halftone-prikker */
.m26-halftone {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1.2px, transparent 1.6px);
}
.m26-halftone-tl {
	top: 0;
	left: 0;
	width: 16rem;
	height: 16rem;
	opacity: 0.2;
	background-size: 12px 12px;
	-webkit-mask-image: radial-gradient(circle at top left, #000 0%, transparent 75%);
	mask-image: radial-gradient(circle at top left, #000 0%, transparent 75%);
}
.m26-halftone-br {
	right: 0;
	bottom: 0;
	width: 18rem;
	height: 18rem;
	opacity: 0.15;
	background-size: 14px 14px;
	-webkit-mask-image: radial-gradient(circle at bottom right, #000 0%, transparent 75%);
	mask-image: radial-gradient(circle at bottom right, #000 0%, transparent 75%);
}

/* hero */
.m26-hero { position: relative; max-width: 56rem; margin: 0 auto; padding: 5rem 1.5rem 6rem; }
.m26-eyebrow {
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.4em;
	color: rgba(255, 255, 255, 0.7);
}
/* "Musse Archives · Chapter 2" – centreret label øverst (som på 2025-siden) */
.m26-eyebrow--center {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2.75rem 1.5rem 1.5rem;
	text-align: center;
	letter-spacing: 0.3em;
	color: rgba(255, 255, 255, 0.6);
}
.m26-title {
	margin-top: 1.5rem;
	font-weight: 700;
	font-style: italic;
	line-height: 0.85;
	letter-spacing: -0.02em;
	font-size: clamp(3rem, 18vw, 13rem);
}
.m26-grad {
	background-image: linear-gradient(90deg, #ff3ea5, #ff7a3d, #ffe600);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.m26-cards { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .m26-cards { grid-template-columns: 1fr 1fr; } }
.m26-card {
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 1rem;
	padding: 1.25rem;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.m26-card-label {
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: rgba(255, 255, 255, 0.6);
}
.m26-card-value { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 700; font-style: italic; }
.m26-card-sub { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.m26-lede {
	margin-top: 2.5rem;
	max-width: 36rem;
	font-size: 1.05rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) { .m26-lede { font-size: 1.125rem; } }

/* billed-galleri øverst (mappen assets/archive-2026/, blandes ved hver sidevisning) */
.m26-gallery { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem 1rem; }
.m26-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 640px) { .m26-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
@media (min-width: 1024px) { .m26-gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.m26-gallery-grid img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

/* video-stribe */
.m26-videos { position: relative; width: 100%; overflow: hidden; padding: 1.5rem 0; }
.m26-videos-track {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding: 0 1.5rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.m26-videos-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .m26-videos-track { justify-content: center; } }
.m26-videos-track video {
	flex: 0 0 auto;
	width: 7rem;
	height: 10rem;
	border-radius: 0.5rem;
	object-fit: cover;
	filter: grayscale(100%) contrast(1.05);
}
@media (min-width: 640px) { .m26-videos-track video { width: 8rem; height: 12rem; } }

/* summons */
.m26-summons { max-width: 42rem; margin: 0 auto; padding: 5rem 1.5rem; }
.m26-summons-text {
	text-align: center;
	font-size: 1.125rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 640px) { .m26-summons-text { font-size: 1.25rem; } }
.m26-summons-text > * + * { margin-top: 1.5rem; }
.m26-summons-text .is-bright { color: #fff; }
.m26-summons-text .is-italic { font-style: italic; }
.m26-summons-text .is-dim { color: rgba(255, 255, 255, 0.55); }
.m26-declaration {
	margin-top: 4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding: 2.5rem 0;
	text-align: center;
}
.m26-declaration p { font-size: 1.875rem; font-weight: 700; font-style: italic; }
@media (min-width: 640px) { .m26-declaration p { font-size: 2.25rem; } }
.m26-declaration .m26-grad { margin-top: 0.75rem; display: inline-block; }
.m26-declaration .m26-prepare {
	margin-top: 1rem;
	font-size: 0.75rem;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: rgba(255, 255, 255, 0.6);
}

/* musikafspiller (Spotify: Doechii — "Alter Ego") */
.m26-player { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; }
.m26-player__toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	border-radius: 9999px;
	padding: 0.75rem 1.25rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: transform 0.15s, background 0.15s;
}
.m26-player__toggle:hover { transform: scale(1.05); background: #000; }
.m26-player.is-open .m26-player__toggle { display: none; }
.m26-player__panel {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(0, 0, 0, 0.8);
	border-radius: 0.75rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.m26-player__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.7);
}
.m26-player__close { padding: 0.25rem; color: rgba(255, 255, 255, 0.7); }
.m26-player__close:hover { color: #fff; }
.m26-player__embed iframe { display: block; border: 0; width: 320px; height: 80px; }

/* ==========================================================================
   Arkiv 2025 — lyst / varmt tema (bevaret fra den oprindelige arkivside)
   Farver angives med hex-fallback efterfulgt af den oprindelige oklch-værdi.
   ========================================================================== */
body.musse-2025 {
	background: #f6f3ec;
	background: oklch(0.965 0.012 75);
	color: #251c17;
	color: oklch(0.18 0.02 30);
	font-family: "Cormorant Garamond", "Times New Roman", serif;
}
/* Header på 2025-siden: blender med sidens baggrund; årstal-links stylet som på 2026 (Space Grotesk) */
body.musse-2025 .site-header {
	background: #f6f3ec;
	background: oklch(0.965 0.012 75);
	border-bottom-color: transparent;
}
body.musse-2025 .site-header__brand { color: #251c17; color: oklch(0.18 0.02 30); }
body.musse-2025 .site-header__nav a {
	font-family: "Space Grotesk", "Inter", sans-serif;
	color: #6f655c;
	color: oklch(0.45 0.025 40);
}
body.musse-2025 .site-header__nav a:hover,
body.musse-2025 .site-header__nav a.is-active,
body.musse-2025 .site-header__nav .current-menu-item > a { color: #251c17; color: oklch(0.18 0.02 30); }

.a25 { max-width: 42rem; margin: 0 auto; padding: 4rem 1.5rem; }
.a25-back {
	display: inline-block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	text-decoration: none;
	color: #6f655c;
	color: oklch(0.45 0.025 40);
}
.a25-back:hover { color: #251c17; color: oklch(0.18 0.02 30); }
.a25-kicker-wrap { margin-top: 2.5rem; text-align: center; }
.a25-kicker {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #6f655c;
	color: oklch(0.45 0.025 40);
}
.a25-grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}
@media (min-width: 640px) { .a25-grid { grid-template-columns: 1fr 1fr 1fr; } }
.a25-grid img,
.a25-grid video {
	aspect-ratio: 1 / 1;
	width: 100%;
	border-radius: 0.125rem;
	border: 1px solid #d7d0c4;
	border-color: oklch(0.84 0.025 60);
	object-fit: cover;
}
.a25-grid video { background: #000; }
.a25-head { margin-top: 3rem; text-align: center; }
.a25-title { font-size: clamp(3rem, 8vw, 3.75rem); line-height: 1.1; letter-spacing: -0.01em; }
.a25-sub {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: #6f655c;
	color: oklch(0.45 0.025 40);
}
.a25-lede {
	margin-top: 1.5rem;
	font-style: italic;
	font-size: 1.125rem;
	color: #6f655c;
	color: oklch(0.45 0.025 40);
}
.a25-embed-wrap { margin: 3rem 0; }
.a25-embed {
	aspect-ratio: 16 / 9;
	width: 100%;
	overflow: hidden;
	border-radius: 0.125rem;
	border: 1px solid #d7d0c4;
	border-color: oklch(0.84 0.025 60);
}
.a25-embed iframe { width: 100%; height: 100%; border: 0; }
.a25-caption {
	margin-top: 0.75rem;
	text-align: center;
	font-size: 0.75rem;
	font-style: italic;
	color: #6f655c;
	color: oklch(0.45 0.025 40);
}
.a25-prose { font-size: clamp(1.125rem, 2vw, 1.25rem); line-height: 1.7; }
.a25-prose > * + * { margin-top: 1.5rem; }
.a25-prose .is-italic { font-style: italic; }
.a25-cta {
	margin-top: 3.5rem;
	border-top: 1px solid #d7d0c4;
	border-color: oklch(0.84 0.025 60);
	padding-top: 2.5rem;
	text-align: center;
}
.a25-cta a {
	display: inline-block;
	margin-top: 1rem;
	font-size: 1.5rem;
	text-decoration: none;
	color: #9b3b2b;
	color: oklch(0.42 0.14 28);
}
.a25-cta a:hover { text-decoration: underline; }

body.musse-2025 .site-footer { border-top: 1px solid #d7d0c4; border-color: oklch(0.84 0.025 60); }
body.musse-2025 .site-footer__inner { color: #6f655c; color: oklch(0.45 0.025 40); }
