/* ==========================================================================
   Mistress Queen Ebowe — shared stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@500;600;700&display=swap');

:root{
	--color-bg: #f9fafd;
	--color-bg-light: #ffffff;
	--color-primary: #101010;
	--color-accent: #0bb4aa;
	--color-text: #1c1c1c;
	--color-text-muted: #6c6c77;
	--color-border: #e3e5ea;
	--font-body: 'Inter', sans-serif;
	--font-heading: 'Montserrat', sans-serif;
	--max-width: 1140px;
	--nav-height: 78px;
}

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

html{ scroll-behavior: smooth; }

body{
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-text);
	background: var(--color-bg);
}

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

a{
	color: var(--color-primary);
	text-decoration: none;
	transition: color .2s ease;
}
a:hover{ color: var(--color-accent); }

.inner-wrap{
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

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

.site-header{
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(16,16,16,.95);
	backdrop-filter: blur(4px);
}

.header-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
	min-height: var(--nav-height);
}

.custom-logo-text{
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 20px;
	letter-spacing: .5px;
	color: #fff;
}
.custom-logo-text:hover{ color: var(--color-accent); }

.navbar-nav{
	list-style: none;
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
}

.navbar-nav a{
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
}
.navbar-nav a:hover,
.navbar-nav a.is-active{ color: var(--color-accent); }

.navbar-toggle{
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.navbar-toggle .icon-bar{
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
}

/* ---------------------------------- Hero (home page) ---------------------------------- */

.custom-header-media{
	position: relative;
	min-height: 92vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.custom-header-media::before{
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.75) 100%);
}
.site-branding-text{
	position: relative;
	z-index: 1;
	color: #fff;
	padding: 24px;
}
.site-title{
	font-family: var(--font-body);
	font-weight: 700;
	line-height: 1.15;
	font-size: clamp(34px, 6vw, 80px);
	margin: 0 0 16px;
	text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.site-title a{ color: #fff; }
.site-title a:hover{ color: var(--color-accent); }
.site-description{
	font-size: clamp(15px, 2vw, 20px);
	font-weight: 400;
	letter-spacing: .5px;
	margin: 0;
	color: #f1f1f1;
}

/* ---------------------------------- Page header (interior pages) ---------------------------------- */

.entry-header{
	background: var(--color-primary);
	padding: 56px 0 40px;
	text-align: center;
}
.entry-header .entry-title{
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(28px, 4vw, 44px);
	margin: 0;
}

/* ---------------------------------- Content ---------------------------------- */

.site-content{
	background: var(--color-bg-light);
}

.entry-content{
	max-width: 780px;
	margin: 0 auto;
	padding: 56px 24px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--color-text);
}

.entry-content.wide{ max-width: var(--max-width); }

.entry-content p{ margin: 0 0 1.4em; }
.entry-content p:last-child{ margin-bottom: 0; }
.entry-content strong{ color: var(--color-primary); }

.entry-content a.email-link{
	color: var(--color-accent);
	font-weight: 600;
	border-bottom: 1px solid currentColor;
}

.entry-content ul.session-list{
	columns: 2;
	column-gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.entry-content ul.session-list li{
	break-inside: avoid;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
}

/* Welcome / home intro article */
.home-article .entry-content{
	max-width: 820px;
}

/* ---------------------------------- Gallery ---------------------------------- */

.gallery-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 56px 24px;
}

.gallery-item{
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: #eee;
	aspect-ratio: 3 / 4;
}
.gallery-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item{ cursor: zoom-in; }

/* ---------------------------------- Lightbox ---------------------------------- */

body.lightbox-locked{ overflow: hidden; }

.lightbox-overlay{
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(8,8,8,.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease;
}
.lightbox-overlay.is-open{ opacity: 1; visibility: visible; }

.lightbox-figure{
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
}
.lightbox-image{
	max-width: 90vw;
	max-height: 80vh;
	width: auto;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0,0,0,.6);
	user-select: none;
	touch-action: pan-y;
	opacity: 0;
	transition: opacity .2s ease;
}
.lightbox-image.is-loaded{ opacity: 1; }

.lightbox-counter{
	margin-top: 16px;
	color: #fff;
	font-family: var(--font-heading);
	font-size: 13px;
	letter-spacing: .5px;
	opacity: .75;
}

.lightbox-close,
.lightbox-btn{
	position: fixed;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.25);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background .2s ease, transform .15s ease;
}
.lightbox-close:hover,
.lightbox-btn:hover{ background: rgba(255,255,255,.2); }
.lightbox-close:active,
.lightbox-btn:active{ transform: scale(.94); }

.lightbox-close{
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 24px;
}
.lightbox-btn{
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	font-size: 26px;
}
.lightbox-btn:active{ transform: translateY(-50%) scale(.94); }
.lightbox-prev{ left: 20px; }
.lightbox-next{ right: 20px; }

@media (max-width: 680px){
	.lightbox-close{ top: 12px; right: 12px; width: 38px; height: 38px; font-size: 20px; }
	.lightbox-btn{ width: 42px; height: 42px; font-size: 20px; }
	.lightbox-prev{ left: 8px; }
	.lightbox-next{ right: 8px; }
	.lightbox-image{ max-height: 74vh; }
}

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

.site-footer{
	background: var(--color-primary);
	color: #cfcfcf;
	text-align: center;
	padding: 32px 24px;
	font-size: 14px;
}
.site-footer a{ color: #fff; }
.site-footer a:hover{ color: var(--color-accent); }

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 900px){
	.gallery-grid{ grid-template-columns: repeat(2, 1fr); }
	.entry-content ul.session-list{ columns: 1; }
}

@media (max-width: 680px){
	.navbar-nav{
		position: fixed;
		top: var(--nav-height);
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(16,16,16,.98);
		gap: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.navbar-nav.is-open{ max-height: 320px; }
	.navbar-nav li{ width: 100%; text-align: center; }
	.navbar-nav a{
		display: block;
		padding: 16px 24px;
		border-top: 1px solid rgba(255,255,255,.08);
	}
	.navbar-toggle{ display: block; }
	.custom-header-media{ min-height: 70vh; }
	.gallery-grid{ grid-template-columns: 1fr 1fr; gap: 12px; padding: 32px 16px; }
}

@media (max-width: 420px){
	.gallery-grid{ grid-template-columns: 1fr; }
}

/* ---------------------------------- Age verification gate ---------------------------------- */

body.age-gate-locked{ overflow: hidden; }

.age-gate-overlay{
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(6,6,8,.97);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility .3s ease;
}
.age-gate-overlay.is-hidden{
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.age-gate-box{
	max-width: 460px;
	width: 100%;
	background: #101010;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 8px;
	padding: 44px 36px;
	text-align: center;
	color: #fff;
	box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.age-gate-eyebrow{
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--color-accent);
	margin: 0 0 12px;
}

.age-gate-title{
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(22px, 4vw, 28px);
	margin: 0 0 18px;
	color: #fff;
}

.age-gate-text{
	font-size: 15px;
	line-height: 1.75;
	color: #cfcfcf;
	margin: 0 0 32px;
}

.age-gate-actions{
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.age-gate-btn{
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .5px;
	text-transform: uppercase;
	padding: 14px 28px;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.age-gate-btn-yes{
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #101010;
}
.age-gate-btn-yes:hover{ background: transparent; color: var(--color-accent); }

.age-gate-btn-no{
	background: transparent;
	border-color: rgba(255,255,255,.3);
	color: #fff;
}
.age-gate-btn-no:hover{ border-color: #fff; }

@media (max-width: 480px){
	.age-gate-box{ padding: 32px 24px; }
	.age-gate-actions{ flex-direction: column; }
	.age-gate-btn{ width: 100%; }
}
