/*
Theme Name: All Queens Men
Author: All Queens Men
Description: A focused newsletter landing page with a Brevo double-opt-in signup form.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: all-queens-men
*/

:root {
	--aqm-black: #050505;
	--aqm-panel: #10100f;
	--aqm-cream: #f4ead7;
	--aqm-gold: #d8a84a;
	--aqm-gold-light: #f1cf7a;
	--aqm-red: #d80619;
	--aqm-muted: #b9b1a4;
	--aqm-line: rgba(216, 168, 74, 0.3);
	--aqm-max: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 7rem;
}

body {
	margin: 0;
	background: var(--aqm-black);
	color: var(--aqm-cream);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 88% 14%, rgba(216, 168, 74, 0.1), transparent 25rem),
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: auto, 4rem 4rem, 4rem 4rem;
	content: "";
}

a {
	color: inherit;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
	background: var(--aqm-cream);
	color: var(--aqm-black);
}

.site-shell {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	overflow: clip;
}

.site-header,
.site-footer,
.landing-main,
.content-main {
	width: min(100% - 3rem, var(--aqm-max));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 6rem;
	border-bottom: 1px solid var(--aqm-line);
	background: rgba(5, 5, 5, 0.94);
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.site-header--hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(-100% - 1rem));
}

.site-branding {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-header__actions,
.social-links {
	display: flex;
	align-items: center;
}

.site-header__actions {
	flex-shrink: 0;
	gap: 1rem;
}

.social-links {
	gap: 0.65rem;
}

.social-link {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--aqm-line);
	color: var(--aqm-muted);
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
	border-color: var(--aqm-gold);
	color: var(--aqm-gold-light);
	transform: translateY(-2px);
}

.social-link svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
}

.custom-logo {
	display: block;
	height: auto;
	max-height: 58px;
	width: auto;
}

.header-link {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.15rem;
	border: 2px solid var(--aqm-red);
	color: var(--aqm-red);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 160ms ease, color 160ms ease;
	white-space: nowrap;
}

.header-link:hover,
.header-link:focus-visible {
	background: var(--aqm-red);
	color: #fff;
}

.landing-main {
	flex: 1;
}

.tour-hero {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(0, 0.92fr);
	gap: clamp(3rem, 8vw, 7rem);
	align-items: center;
	min-height: calc(100vh - 6rem);
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.tour-hero--no-image {
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
	text-align: center;
}

.tour-hero--no-image .hero-lede {
	margin-inline: auto;
}

.tour-hero--no-image .tour-kicker {
	justify-content: center;
}

.tour-artwork {
	position: relative;
	margin: 0;
}

.tour-artwork__image {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.65);
}

.eyebrow,
.tour-kicker,
.section-number {
	color: var(--aqm-gold-light);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.eyebrow {
	margin: 0 0 1.3rem;
}

.tour-kicker {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	color: var(--aqm-red);
}

.tour-kicker::before {
	width: 2.5rem;
	height: 2px;
	background: currentColor;
	content: "";
}

.hero-lede {
	max-width: 31rem;
	margin: 1.8rem 0 2rem;
	color: var(--aqm-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.2rem, 2.1vw, 1.6rem);
	line-height: 1.45;
}

.hero-cta {
	display: inline-flex;
	min-height: 3.25rem;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.3rem;
	border: 1px solid var(--aqm-gold);
	color: var(--aqm-gold-light);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 160ms ease, color 160ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
	background: var(--aqm-gold);
	color: var(--aqm-black);
}

.tour-dates,
.tour-story,
.signup-section {
	display: grid;
	grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
	gap: clamp(3rem, 9vw, 8rem);
	padding-block: clamp(5rem, 10vw, 9rem);
	border-top: 1px solid var(--aqm-line);
}

.section-number {
	margin: 0 0 1rem;
}

.tour-dates h2,
.tour-story h2,
.signup-title {
	max-width: 12ch;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
}

.tour-dates__eyebrow {
	margin: 0 0 0.65rem;
	color: var(--aqm-red);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tour-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--aqm-line);
	list-style: none;
}

.tour-list__item {
	display: grid;
	grid-template-columns: 4.25rem minmax(0, 1fr) auto;
	gap: clamp(1rem, 3vw, 2rem);
	align-items: center;
	min-height: 7.25rem;
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--aqm-line);
}

.tour-list__date {
	display: grid;
	justify-items: center;
	border-right: 1px solid var(--aqm-line);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1;
}

.tour-list__day {
	color: var(--aqm-gold-light);
	font-size: 2.35rem;
}

.tour-list__month {
	margin-top: 0.3rem;
	color: var(--aqm-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tour-list__show h3,
.tour-list__show p {
	margin: 0;
}

.tour-list__show h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 400;
	line-height: 1.2;
}

.tour-list__show > p {
	color: var(--aqm-muted);
	font-size: 0.9rem;
}

.tour-list__show .tour-list__note {
	margin-top: 0.25rem;
	color: var(--aqm-gold-light);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tour-list__link {
	display: inline-flex;
	min-height: 2.9rem;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	border: 1px solid var(--aqm-red);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tour-list__link:hover,
.tour-list__link:focus-visible {
	border-color: var(--aqm-red);
	background: var(--aqm-red);
	transform: translateY(-2px);
}

.tour-list__link:focus-visible {
	outline: 3px solid var(--aqm-gold-light);
	outline-offset: 4px;
}

.tour-story__copy {
	columns: 2;
	column-gap: clamp(2rem, 5vw, 4rem);
	color: var(--aqm-muted);
}

.tour-story__copy p {
	margin: 0 0 1.35rem;
	break-inside: avoid;
}

.tour-story__copy p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	color: var(--aqm-gold-light);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4rem;
	line-height: 0.78;
}

.story-cta {
	margin-top: 1rem;
}

.signup-section {
	align-items: start;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-inline: max(1.5rem, calc((100vw - var(--aqm-max)) / 2));
	background: var(--aqm-panel);
}

.signup-form__prompt {
	margin: 0.25rem 0 0;
	color: var(--aqm-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.08rem;
	line-height: 1.5;
}

.signup-card {
	position: relative;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--aqm-line);
	background: var(--aqm-black);
	box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.35);
}

.signup-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 5rem;
	height: 4px;
	background: var(--aqm-red);
	content: "";
}

.signup-form {
	display: grid;
	gap: 1.25rem;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.field-group {
	display: grid;
	gap: 0.42rem;
}

.field-group label {
	color: var(--aqm-gold-light);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.field-group input {
	width: 100%;
	min-height: 3.5rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid #4f4b43;
	border-radius: 0;
	background: #161614;
	color: var(--aqm-cream);
	font: inherit;
}

.field-group input:focus {
	border-color: var(--aqm-gold);
	box-shadow: 0 0 0 3px rgba(216, 168, 74, 0.16);
	outline: none;
}

.signup-button {
	display: inline-flex;
	min-height: 4rem;
	align-items: center;
	justify-content: center;
	margin-top: 0.25rem;
	padding: 0.95rem 1.25rem;
	border: 0;
	background: var(--aqm-red);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.045em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	transition: background 160ms ease, transform 160ms ease;
}

.signup-button:hover {
	background: #f20b22;
	transform: translateY(-2px);
}

.signup-button:focus-visible,
.hero-cta:focus-visible,
.header-link:focus-visible,
.social-link:focus-visible {
	outline: 3px solid var(--aqm-gold-light);
	outline-offset: 4px;
}

.form-note {
	margin: 0;
	color: var(--aqm-muted);
	font-size: 0.76rem;
}

.form-status {
	margin: 0 0 1.5rem;
	padding: 0.85rem 1rem;
	border-left: 3px solid currentColor;
	font-size: 0.9rem;
}

.form-status[hidden] {
	display: none;
}

.signup-form[aria-busy="true"] {
	opacity: 0.72;
}

.signup-form[aria-busy="true"] .signup-button {
	cursor: wait;
}

.form-status--success {
	background: #15291a;
	color: #a9dfb6;
}

.form-status--error {
	background: #351517;
	color: #ffb2b9;
}

.confirmation-modal {
	width: min(100% - 2rem, 31rem);
	padding: clamp(2rem, 6vw, 3.5rem);
	border: 1px solid var(--aqm-gold);
	background: var(--aqm-panel);
	color: var(--aqm-cream);
	box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.8);
	text-align: center;
}

.confirmation-modal::backdrop {
	background: rgba(0, 0, 0, 0.82);
	backdrop-filter: blur(5px);
}

.confirmation-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.9rem;
	padding: 0.15rem 0.45rem;
	border: 0;
	background: transparent;
	color: var(--aqm-muted);
	cursor: pointer;
	font-size: 1.8rem;
	line-height: 1;
}

.confirmation-modal__eyebrow {
	margin: 0 0 0.9rem;
	color: var(--aqm-gold-light);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.confirmation-modal h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.75rem, 8vw, 4.5rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
}

.confirmation-modal > p:last-of-type {
	margin: 1.25rem auto 1.75rem;
	color: var(--aqm-muted);
}

.confirmation-modal__button {
	min-height: 3.25rem;
	padding: 0.75rem 2rem;
	border: 0;
	background: var(--aqm-red);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.confirmation-modal__close:focus-visible,
.confirmation-modal__button:focus-visible {
	outline: 3px solid var(--aqm-gold-light);
	outline-offset: 3px;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 2rem;
	border-top: 1px solid var(--aqm-line);
	color: var(--aqm-muted);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.site-footer p {
	margin: 0;
}

.content-main {
	flex: 1;
	padding-block: 5rem;
}

.content-main article {
	max-width: 760px;
}

.content-main h1,
.content-main h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	line-height: 1.08;
}

@media (max-width: 900px) {
	.tour-hero,
	.tour-dates,
	.tour-story,
	.signup-section {
		grid-template-columns: 1fr;
	}

	.tour-hero {
		gap: 4rem;
	}

	.tour-artwork {
		width: min(100%, 640px);
		margin-inline: auto;
	}

	.hero-copy-block {
		width: min(100%, 640px);
	}

	.tour-story__copy {
		columns: 1;
	}

	.tour-dates {
		gap: 3rem;
	}
}

@media (max-width: 560px) {
	html {
		scroll-padding-top: 6rem;
	}

	.site-header,
	.site-footer,
	.landing-main,
	.content-main {
		width: min(100% - 2rem, var(--aqm-max));
	}

	.site-header {
		gap: 0.75rem;
		min-height: 5rem;
	}

	.site-branding {
		max-width: calc(100% - 10rem);
	}

	.custom-logo {
		max-width: 100%;
	}

	.header-link {
		min-height: 2.75rem;
		padding: 0.6rem 0.8rem;
		font-size: 0.85rem;
	}

	.site-header__actions {
		gap: 0.5rem;
	}

	.social-links {
		gap: 0.35rem;
	}

	.social-link {
		width: 2rem;
		height: 2rem;
	}

	.social-link svg {
		width: 1rem;
		height: 1rem;
	}

	.tour-hero {
		min-height: auto;
		padding-top: 2.5rem;
	}

	.tour-list__item {
		grid-template-columns: 3.5rem minmax(0, 1fr);
		gap: 0.85rem 1rem;
	}

	.tour-list__date {
		grid-row: span 2;
	}

	.tour-list__day {
		font-size: 1.9rem;
	}

	.tour-list__link {
		grid-column: 2;
		justify-self: start;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.signup-section {
		padding-inline: 1rem;
	}

	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}

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

	.signup-button,
	.hero-cta,
	.tour-list__link,
	.header-link,
	.social-link,
	.site-header {
		transition: none;
	}
}
