/* =========================================================================
   La Cerveza Group — black, silver and a little gold
   Mobile-first. Fonts: Cinzel (display), Montserrat (text), Playfair (accents)
   ========================================================================= */

/* Self-hosted variable fonts (Latin subset, SIL OFL) — no Google requests */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-var.woff") format("woff"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-italic-var.woff") format("woff"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
	--bg: #050506;
	--bg-2: #0b0c10;
	--panel: #0e1014;
	--ink: #eceef2;
	--muted: #a1a7b1;
	--quiet: #6f7580;
	--line: rgba(222, 228, 238, 0.14);
	--gold: #d7a645;
	--gold-hi: #f6dc8f;
	--gold-lo: #b07d22;
	--blue: #5aa0f0;
	--blue-glow: rgba(90, 160, 240, 0.55);
	--silver: linear-gradient(180deg, #ffffff 0%, #e2e5ea 34%, #8e95a0 52%, #eef0f3 70%, #a7adb6 100%);

	--serif: "Cinzel", "Trajan Pro", Georgia, serif;
	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--script: "Playfair Display", Georgia, serif;

	--wrap: 1160px;
	--gutter: clamp(20px, 5vw, 40px);
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: rgba(215, 166, 69, .6); text-underline-offset: 4px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
p { margin: 0 0 1.1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #111; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); }
.center { text-align: center; }

/* ---------- Type ---------- */

.silver {
	background: var(--silver);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(255, 255, 255, .08));
}

.eyebrow {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .38em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 18px;
}

.h2, .display, .h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 24px; letter-spacing: .02em; }
.h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
.h3 { font-size: 1.5rem; }
.display { font-size: clamp(2.1rem, 6.4vw, 4.6rem); letter-spacing: .03em; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink); line-height: 1.75; }
.prose p:not(.lead) { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 30px;
	font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
	text-decoration: none; text-align: center; line-height: 1.3;
	border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s;
}
.btn--gold {
	color: #140e03;
	background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
	box-shadow: 0 0 0 1px rgba(246, 220, 143, .35) inset, 0 10px 30px -12px rgba(215, 166, 69, .7);
}
.btn--gold:hover { color: #140e03; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 240, 200, .6) inset, 0 16px 40px -12px rgba(215, 166, 69, .9); }
.btn--ghost { color: var(--ink); border-color: rgba(230, 234, 240, .45); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--small { min-height: 40px; padding: 9px 20px; font-size: 11.5px; }
.btn.is-disabled { opacity: .55; cursor: default; filter: grayscale(.3); }
.btn.is-disabled:hover { transform: none; }

/* ---------- Header ---------- */

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
	background: rgba(5, 5, 6, .82);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	border-bottom-color: var(--line);
}
.site-header__inner {
	width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(230, 234, 240, .35), 0 0 18px -4px var(--blue-glow); }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.brand__name small { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }

.nav-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
	width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform .35s var(--ease); }
.is-open .nav-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.is-open .nav-toggle__bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.site-nav {
	position: fixed; inset: 72px 0 auto; padding: 18px var(--gutter) 30px;
	background: rgba(5, 5, 6, .97); border-bottom: 1px solid var(--line);
	display: none; flex-direction: column; gap: 18px;
}
.is-open .site-nav { display: flex; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav__list a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
	font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.site-nav__list a:hover { color: var(--gold-hi); }
.site-nav__cta { align-self: flex-start; }

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 34px; padding: 0; background: none; border: 0; }
	.site-nav__list { flex-direction: row; gap: 30px; }
	.site-nav__list a { padding: 6px 0; border: 0; font-size: 11.5px; position: relative; }
	.site-nav__list a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
		transform: scaleX(0); transition: transform .35s var(--ease);
	}
	.site-nav__list a:hover::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */

.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100svh; display: grid; align-items: center;
	padding: 110px 0 120px;
	background:
		radial-gradient(60% 50% at 50% 42%, rgba(90, 160, 240, .10), transparent 70%),
		radial-gradient(40% 30% at 50% 58%, rgba(215, 166, 69, .10), transparent 70%),
		#000;
}
/* Black satin folds, drawn with soft light streaks */
.hero__satin {
	position: absolute; inset: -20%; z-index: -1; pointer-events: none; opacity: .9;
	background:
		radial-gradient(38% 16% at 12% 22%, rgba(235, 238, 245, .16), transparent 70%),
		radial-gradient(30% 12% at 4% 70%, rgba(235, 238, 245, .12), transparent 70%),
		radial-gradient(36% 14% at 92% 30%, rgba(235, 238, 245, .14), transparent 70%),
		radial-gradient(28% 11% at 96% 78%, rgba(235, 238, 245, .10), transparent 70%),
		radial-gradient(55% 22% at 50% 100%, rgba(235, 238, 245, .06), transparent 70%);
	filter: blur(6px);
	transform: rotate(-8deg);
	animation: satin 22s ease-in-out infinite alternate;
}
@keyframes satin { to { transform: rotate(-4deg) translate3d(2%, -2%, 0) scale(1.04); } }

.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__emblem {
	width: min(80vw, 460px); aspect-ratio: 1; border-radius: 50%;
	mix-blend-mode: lighten;
	filter: drop-shadow(0 0 40px rgba(90, 160, 240, .18));
	margin-bottom: clamp(22px, 4vh, 40px);
	animation: rise 1.4s var(--ease) both;
}
.hero__title {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(1.45rem, 4.2vw, 2.6rem); line-height: 1.25; letter-spacing: .05em;
	max-width: 22ch; margin: 0 0 18px;
	animation: rise 1.4s .15s var(--ease) both;
}
.pillars {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
	font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 34px;
	animation: rise 1.4s .3s var(--ease) both;
}
.pillars i { width: 5px; height: 5px; background: var(--blue); transform: rotate(45deg); box-shadow: 0 0 8px var(--blue-glow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: rise 1.4s .45s var(--ease) both; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Sound wave along the bottom edge, echoing the emblem */
.wave {
	position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: -1;
	display: flex; align-items: center; justify-content: center; gap: 5px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
	opacity: .75;
}
.wave span {
	flex: 0 0 2px; height: var(--h); border-radius: 2px;
	background: linear-gradient(180deg, transparent, var(--blue) 40%, #cfe4ff 50%, var(--blue) 60%, transparent);
	animation: eq 1.6s var(--d) ease-in-out infinite alternate;
	transform-origin: center;
}
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section + .section::before {
	content: ""; position: absolute; top: 0; left: 50%; width: min(80%, 900px); height: 1px; transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, rgba(230, 234, 240, .35), transparent);
}
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

.split { display: grid; gap: 28px; }
@media (min-width: 900px) {
	.split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
	.split__head { position: sticky; top: 120px; }
}

/* ---------- Event ---------- */

.section--event {
	background:
		radial-gradient(50% 60% at 20% 40%, rgba(215, 166, 69, .08), transparent 70%),
		radial-gradient(40% 50% at 85% 60%, rgba(90, 160, 240, .06), transparent 70%),
		var(--bg-2);
}
.event { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .event { grid-template-columns: 1fr 1fr; gap: 80px; } }

.event__posters { position: relative; margin: 0; }
.event__poster {
	position: relative; z-index: 1; width: 100%;
	border: 1px solid rgba(246, 220, 143, .35);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(215, 166, 69, .35);
}
.event__poster--back { display: none; }
@media (min-width: 960px) {
	.event__posters { padding: 0 12% 6% 0; }
	.event__poster:not(.event__poster--back) { width: 100%; }
	.event__poster--back {
		display: block; position: absolute; z-index: 0; width: 62%; right: -4%; top: 14%;
		transform: rotate(5deg); opacity: .55; filter: grayscale(.2) brightness(.8);
		border-color: rgba(230, 234, 240, .25);
	}
}

.event__presents { font-size: 11.5px; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.event__name { margin-bottom: 10px; }
.event__tagline { font-family: var(--script); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--ink); margin-bottom: 30px; }

.event__facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.event__facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.event__facts dt { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.event__facts dd { margin: 0; font-weight: 400; }
.event__facts dd a { text-decoration: underline; }
.event__address { display: block; font-size: 14px; color: var(--muted); font-weight: 300; }

.badge {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 22px; margin: 0 0 30px;
	font-family: var(--serif); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px;
	color: var(--ink);
	border-block: 1px solid var(--gold);
	background: linear-gradient(90deg, transparent, rgba(215, 166, 69, .16) 20%, rgba(215, 166, 69, .16) 80%, transparent);
}
.badge::before, .badge::after { content: ""; width: 7px; height: 7px; background: var(--gold-hi); transform: rotate(45deg); flex: none; }
.event__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.event__thanks { width: 100%; color: var(--muted); }

/* ---------- Venues ---------- */

.venue-card {
	position: relative; padding: clamp(28px, 5vw, 56px);
	background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
	border: 1px solid var(--line);
	max-width: 860px;
}
.venue-card::before {
	content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
	background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
}
.venue-card__meta { display: flex; gap: 18px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.venue-card__since { color: var(--muted); }
.venue-card__name { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; margin: 0 0 14px; letter-spacing: .04em; }
.venue-card p { color: var(--muted); max-width: 62ch; margin: 0; }

.journey { list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0; display: grid; gap: 26px; position: relative; }
.journey li { position: relative; padding-left: 34px; }
.journey li::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: -26px; width: 1px; background: var(--line); }
.journey li:last-child::before { display: none; }
.journey__dot { position: absolute; left: 0; top: 8px; width: 13px; height: 13px; transform: rotate(45deg); border: 1px solid rgba(230, 234, 240, .55); background: var(--bg); }
.journey .is-now .journey__dot { background: var(--blue); border-color: #cfe4ff; box-shadow: 0 0 14px var(--blue-glow); }
.journey strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .06em; }
.journey small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) {
	.journey { grid-template-columns: repeat(3, 1fr); gap: 0; }
	.journey li { padding: 34px 20px 0 0; }
	.journey li::before { left: 13px; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
	.journey__dot { top: 0; }
}

/* ---------- Philosophy ---------- */

.section--philosophy {
	background:
		radial-gradient(50% 55% at 50% 45%, rgba(215, 166, 69, .09), transparent 70%),
		#000;
}
.fan { display: block; width: 160px; height: auto; margin: 0 auto 30px; filter: drop-shadow(0 0 16px rgba(90, 160, 240, .35)); }
.fan--small { width: 110px; margin-bottom: 18px; }
.signature { font-family: var(--script); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--gold-hi); margin: 10px 0 0; }

/* ---------- Guest list ---------- */

.section--connect { background: var(--bg-2); }
.join { display: grid; gap: 14px; margin: 34px auto 14px; max-width: 720px; text-align: left; }
@media (min-width: 720px) { .join { grid-template-columns: 1fr 1.3fr auto; align-items: end; } }
.join__field span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.join__field input {
	width: 100%; min-height: 52px; padding: 12px 14px;
	font: inherit; font-weight: 400; color: var(--ink);
	background: rgba(255, 255, 255, .03); border: 1px solid rgba(230, 234, 240, .28); border-radius: var(--radius);
	transition: border-color .3s, background .3s;
}
.join__field input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .06); }
.join__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px; color: var(--quiet); }
.follow { margin-top: 26px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.follow a { text-decoration: none; color: var(--gold-hi); }
.notice { display: inline-block; padding: 14px 22px; margin: 26px 0 0; border: 1px solid; }
.notice--ok { border-color: rgba(215, 166, 69, .6); color: var(--gold-hi); }
.notice--err { border-color: rgba(240, 120, 120, .6); color: #ffb4b4; }

/* ---------- Footer ---------- */

.site-footer { padding: 70px 0 50px; border-top: 1px solid var(--line); background: #000; text-align: center; }
.site-footer__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .1em; margin: 0 0 4px; }
.site-footer__tag { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.site-footer__social { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.site-footer__social:hover { color: var(--gold-hi); }
.site-footer__legal { font-size: 12.5px; color: var(--quiet); margin: 24px 0 0; }

/* ---------- Generic pages ---------- */

.page { padding-top: 150px; min-height: 70vh; }
.entry + .entry { margin-top: 48px; }
.prose img { margin: 24px 0; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
