/*
Theme Name: HowieWissler24 Studio
Theme URI: https://howiewissler24.com/
Author: Howie Wissler
Author URI: https://howiewissler24.com/
Description: A premium black-and-gold WordPress theme for HowieWissler24 Custom Songs & Music.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: howiewissler24-studio
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: entertainment, e-commerce, custom-logo, featured-images, wide-blocks, accessibility-ready
*/

:root {
	--hw24-color-ink: #090909;
	--hw24-color-paper: #f5f0e6;
	--hw24-color-surface: #171717;
	--hw24-color-surface-light: #202020;
	--hw24-color-muted: #b8b0a3;
	--hw24-color-line: #4c4224;
	--hw24-color-accent: #c9a227;
	--hw24-color-accent-dark: #9d7b16;
	--hw24-color-accent-light: #e2c25b;
	--hw24-color-focus: #f2cf55;
	--hw24-font-display: Georgia, "Times New Roman", serif;
	--hw24-font-body: Georgia, "Times New Roman", serif;
	--hw24-width-content: 760px;
	--hw24-width-wide: 1240px;
	--hw24-radius-small: 0.35rem;
	--hw24-radius-large: 1rem;
	--hw24-shadow: 0 1rem 3rem rgb(23 23 20 / 10%);
	--hw24-space-xs: clamp(0.5rem, 0.4rem + 0.3vw, 0.75rem);
	--hw24-space-sm: clamp(0.875rem, 0.75rem + 0.5vw, 1.25rem);
	--hw24-space-md: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
	--hw24-space-lg: clamp(2.5rem, 1.8rem + 2.5vw, 5rem);
	--hw24-space-xl: clamp(4rem, 2.8rem + 4vw, 8rem);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--hw24-color-ink);
	color: var(--hw24-color-paper);
	font-family: var(--hw24-font-body);
	font-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar {
	--hw24-admin-bar-offset: 32px;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: inherit;
	text-decoration-color: var(--hw24-color-accent);
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--hw24-color-accent-light);
}

:focus-visible {
	outline: 3px solid var(--hw24-color-focus);
	outline-offset: 3px;
}

::selection {
	background: var(--hw24-color-accent);
	color: var(--hw24-color-ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	font-family: var(--hw24-font-display);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.05;
	text-wrap: balance;
}

h1 {
	font-size: clamp(3rem, 9vw, 8rem);
}

h2 {
	font-size: clamp(2.25rem, 5vw, 4.75rem);
}

h3 {
	font-size: clamp(1.65rem, 3vw, 2.75rem);
}

h4 {
	font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p,
ul,
ol,
blockquote {
	margin-block: 0 1.4em;
}

blockquote {
	padding-left: var(--hw24-space-md);
	border-left: 0.3rem solid var(--hw24-color-accent);
	font-size: clamp(1.35rem, 2.3vw, 2rem);
	font-weight: 650;
	line-height: 1.35;
}

hr {
	margin-block: var(--hw24-space-lg);
	border: 0;
	border-top: 1px solid var(--hw24-color-line);
}

.site {
	min-height: 100vh;
	overflow: clip;
}

.site-main {
	min-height: 60vh;
}

.container,
.alignwide {
	width: min(calc(100% - 2 * var(--hw24-space-sm)), var(--hw24-width-wide));
	margin-inline: auto;
}

.content-width,
.entry-content > :not(.alignwide, .alignfull) {
	width: min(calc(100% - 2 * var(--hw24-space-sm)), var(--hw24-width-content));
	margin-inline: auto;
}

.alignfull {
	width: 100%;
	max-width: none;
}

.entry-content > * + * {
	margin-block-start: 1.4em;
}

.entry-content > .alignwide,
.entry-content > .alignfull {
	margin-block: var(--hw24-space-lg);
}

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

.screen-reader-text:focus {
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--hw24-color-paper);
	color: var(--hw24-color-ink);
	font-weight: 700;
	white-space: normal;
	box-shadow: var(--hw24-shadow);
}

.button,
.wp-element-button,
button:not(.menu-toggle),
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.2rem;
	border: 2px solid var(--hw24-color-ink);
	border-radius: var(--hw24-radius-small);
	border-color: var(--hw24-color-accent);
	background: var(--hw24-color-accent);
	color: var(--hw24-color-ink);
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 160ms ease,
		background-color 160ms ease,
		color 160ms ease;
}

.button:hover,
.wp-element-button:hover,
button:not(.menu-toggle):hover,
input[type="submit"]:hover {
	background: var(--hw24-color-accent);
	color: var(--hw24-color-ink);
	box-shadow: 0 0.7rem 2rem rgb(201 162 39 / 22%);
	transform: translateY(-2px);
}

input:not([type="submit"], [type="checkbox"], [type="radio"]),
select,
textarea {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--hw24-color-line);
	border-radius: var(--hw24-radius-small);
	background: var(--hw24-color-surface-light);
	color: var(--hw24-color-paper);
}

textarea {
	min-height: 10rem;
	resize: vertical;
}

.studio-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--hw24-space-sm);
}

.studio-card {
	grid-column: span 6;
	position: relative;
	padding: var(--hw24-space-md);
	border: 1px solid var(--hw24-color-line);
	border-radius: var(--hw24-radius-large);
	background: var(--hw24-color-surface);
	box-shadow: 0 0 0 rgb(23 23 20 / 0%);
	transition:
		transform 200ms ease,
		box-shadow 200ms ease;
}

.studio-card:hover {
	box-shadow: var(--hw24-shadow);
	transform: translateY(-0.35rem);
}

.eyebrow {
	margin-bottom: var(--hw24-space-xs);
	color: var(--hw24-color-accent-light);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.section {
	padding-block: var(--hw24-space-xl);
}

.section--surface {
	background: var(--hw24-color-surface);
}

.home-hero {
	position: relative;
	display: grid;
	min-height: min(780px, calc(100vh - 5rem));
	align-items: center;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgb(0 0 0 / 94%) 0%, rgb(0 0 0 / 70%) 56%, rgb(0 0 0 / 88%) 100%),
		radial-gradient(circle at 75% 42%, rgb(201 162 39 / 16%), transparent 34%),
		url("assets/images/studio-hero.png") center / cover no-repeat;
}

.home-hero::before {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			115deg,
			transparent 0,
			transparent 70px,
			rgb(201 162 39 / 3%) 71px,
			transparent 72px
		);
	content: "";
	pointer-events: none;
}

.home-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
	align-items: center;
	gap: var(--hw24-space-lg);
}

.home-hero__title {
	max-width: 13ch;
	margin-bottom: var(--hw24-space-md);
	font-size: clamp(3.25rem, 7vw, 7.25rem);
}

.home-hero__tagline {
	max-width: 17ch;
	color: var(--hw24-color-accent-light);
	font-size: clamp(2rem, 4.5vw, 4.5rem);
}

.home-hero__summary {
	max-width: 50rem;
	color: var(--hw24-color-paper);
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.home-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--hw24-space-sm);
	margin-top: var(--hw24-space-md);
}

.home-hero__brand {
	display: grid;
	place-items: center;
	min-height: 22rem;
	padding: var(--hw24-space-md);
	border: 1px solid rgb(201 162 39 / 35%);
	border-radius: 50%;
	background: rgb(9 9 9 / 68%);
	box-shadow:
		0 0 0 0.5rem rgb(201 162 39 / 5%),
		0 0 4rem rgb(201 162 39 / 10%);
	text-align: center;
}

.home-hero__brand .custom-logo {
	width: min(100%, 26rem);
	max-height: none;
}

.home-hero__default-logo {
	width: min(100%, 34rem);
}

.home-hero__brand-name {
	display: block;
	color: var(--hw24-color-accent);
	font-family: cursive;
	font-size: clamp(2.5rem, 5vw, 5rem);
	line-height: 1;
}

.home-hero__brand-description {
	display: block;
	margin-top: 0.8rem;
	color: var(--hw24-color-accent-light);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.home-introduction__grid .studio-card,
.home-packages__grid .studio-card {
	grid-column: span 3;
}

.package-preview__price,
.price {
	margin-bottom: var(--hw24-space-sm);
	color: var(--hw24-color-accent-light);
	font-family: var(--hw24-font-display);
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	font-weight: 700;
	line-height: 1;
}

.package-preview--featured,
.pricing-card--featured {
	border-color: var(--hw24-color-accent);
	box-shadow: 0 1rem 3rem rgb(201 162 39 / 12%);
}

.home-packages__action {
	margin-top: var(--hw24-space-lg);
	text-align: center;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hw24-space-md);
}

.pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--hw24-space-md);
	border: 1px solid var(--hw24-color-line);
	border-radius: var(--hw24-radius-large);
	background: var(--hw24-color-surface);
	text-align: center;
}

.pricing-card h2 {
	font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.pricing-card__badge {
	align-self: center;
	padding: 0.45rem 0.8rem;
	margin: calc(-1 * var(--hw24-space-md) - 1rem) 0 var(--hw24-space-sm);
	border-radius: 999px;
	background: var(--hw24-color-accent);
	color: var(--hw24-color-ink);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pricing-card__features {
	flex: 1;
	padding: 0;
	margin: 0 0 var(--hw24-space-md);
	list-style: none;
}

.pricing-card__features li {
	padding-block: 0.7rem;
	border-bottom: 1px solid rgb(201 162 39 / 14%);
}

.pricing-card .button {
	width: 100%;
}

.pricing-cta,
.home-cta {
	text-align: center;
}

.pricing-cta h2,
.home-cta h2 {
	color: var(--hw24-color-accent-light);
}

@media (max-width: 782px) {
	body.admin-bar {
		--hw24-admin-bar-offset: 46px;
	}

	.studio-card {
		grid-column: 1 / -1;
	}

	.home-hero__inner,
	.pricing-grid {
		grid-template-columns: 1fr;
	}

	.home-hero__brand {
		min-height: 16rem;
		border-radius: var(--hw24-radius-large);
	}

	.home-introduction__grid .studio-card,
	.home-packages__grid .studio-card {
		grid-column: 1 / -1;
	}

	.pricing-card--featured {
		margin-block: var(--hw24-space-sm);
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
