/* SD Karaoke — runtime CSS. theme.json owns tokens; this owns motion + a few
   structural touches that the block editor can't express cleanly. */

:root {
	--sdk-stage:     oklch(0.14 0.02 350);
	--sdk-backstage: oklch(0.20 0.025 350);
	--sdk-smoke:     oklch(0.32 0.025 340);
	--sdk-ivory:     oklch(0.97 0.012 80);
	--sdk-spot:      oklch(0.85 0.18 75);
	--sdk-hot:       oklch(0.65 0.27 0);
	--sdk-cyan:      oklch(0.78 0.18 210);
	--sdk-ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

html { background: var(--sdk-stage); }

/* Selection color = stage smoke. */
::selection { background: var(--sdk-hot); color: var(--sdk-ivory); }

/* The marquee hero: a full-bleed stage with two soft truss-light pools. */
.sdk-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
	background:
		radial-gradient(ellipse 90% 70% at 12% -10%, oklch(0.85 0.18 75 / 0.55) 0%, transparent 60%),
		radial-gradient(ellipse 90% 70% at 88% -10%, oklch(0.65 0.27 0 / 0.45) 0%, transparent 60%),
		linear-gradient(180deg, var(--sdk-stage) 0%, oklch(0.10 0.02 350) 100%);
	overflow: clip;
}

/* A slow-moving spotlight scan across the marquee, very subtle.
   reduced-motion users get nothing. */
.sdk-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 60%;
	background: radial-gradient(circle at 30% 40%, oklch(0.95 0.10 75 / 0.18), transparent 45%);
	filter: blur(20px);
	pointer-events: none;
	z-index: 0;
	animation: sdk-spot-scan 14s var(--sdk-ease) infinite alternate;
}

@keyframes sdk-spot-scan {
	0%   { transform: translate3d(-8vw, 0, 0); }
	100% { transform: translate3d(12vw, 2vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.sdk-hero::before { animation: none; }
}

.sdk-hero > * { position: relative; z-index: 1; }

/* The marquee headline itself. theme.json sets its font + size; we add
   the on-stage glow on one letter and the tight optical centering.
   Width: unconstrained — runs to the same gutter as every section
   below so the page rhythm stays consistent across all bands.
   Line-height: 1.0 so descenders on commas don't get clipped by the
   cap height of the wrapped line below. */
.sdk-marquee {
	font-family: 'Anton', 'Bebas Neue', Impact, sans-serif;
	font-size: clamp(3.75rem, 1.2rem + 10vw, 11rem);
	line-height: 1.0;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--sdk-ivory);
	max-width: none;
	margin: 0;
}
.sdk-marquee em {
	font-style: normal;
	color: var(--sdk-spot);
	text-shadow:
		0 0 18px oklch(0.85 0.18 75 / 0.55),
		0 0 42px oklch(0.85 0.18 75 / 0.30);
}
.sdk-marquee em.sdk-pink {
	color: var(--sdk-hot);
	text-shadow:
		0 0 18px oklch(0.65 0.27 0 / 0.50),
		0 0 42px oklch(0.65 0.27 0 / 0.28);
}

/* The kicker line above the marquee — small, tracked, in the gold. */
.sdk-kicker {
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--sdk-spot);
	margin: 0 0 1.5rem;
}

/* The phone line — the second-largest element. People call this business. */
.sdk-phone {
	font-family: 'Anton', sans-serif;
	font-size: clamp(2.25rem, 1rem + 5vw, 4.5rem);
	letter-spacing: 0.02em;
	color: var(--sdk-ivory);
	text-decoration: none;
	display: inline-flex;
	align-items: baseline;
	gap: 0.5em;
	margin-top: clamp(2rem, 4vw, 3rem);
	border-bottom: 3px solid var(--sdk-spot);
	padding-bottom: 0.2em;
	transition: color 220ms var(--sdk-ease), border-color 220ms var(--sdk-ease);
}
.sdk-phone:hover, .sdk-phone:focus-visible {
	color: var(--sdk-spot);
	border-color: var(--sdk-hot);
	outline: none;
}
.sdk-phone .sdk-phone-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--sdk-spot);
}

/* Sub-lede under marquee */
.sdk-lede {
	max-width: 52ch;
	font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.25rem);
	color: var(--sdk-ivory);
	opacity: 0.85;
	line-height: 1.55;
	margin: 1.5rem 0 0;
}

/* Marquee bulb strip — a thin row of glowing dots, like vanity lights. */
.sdk-bulbs {
	display: flex;
	gap: 0.5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
.sdk-bulbs li {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--sdk-spot);
	box-shadow: 0 0 8px var(--sdk-spot);
	opacity: 0.6;
	animation: sdk-bulb 2.4s var(--sdk-ease) infinite;
}
.sdk-bulbs li:nth-child(2n) { animation-delay: 0.4s; background: var(--sdk-hot); box-shadow: 0 0 8px var(--sdk-hot); }
.sdk-bulbs li:nth-child(3n) { animation-delay: 0.8s; background: var(--sdk-cyan); box-shadow: 0 0 8px var(--sdk-cyan); }
@keyframes sdk-bulb {
	0%, 100% { opacity: 0.4; }
	50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.sdk-bulbs li { animation: none; opacity: 0.85; }
}

/* Service tiles — NOT identical cards. Three differently-sized rectangles
   on a stage-smoke background with real photos. */
.sdk-services {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: clamp(0.75rem, 1.2vw, 1.25rem);
	padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3rem);
	background: var(--sdk-stage);
}
.sdk-svc {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: var(--sdk-backstage);
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	color: var(--sdk-ivory);
	text-decoration: none;
	isolation: isolate;
}
.sdk-svc::before {
	content: "";
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	filter: grayscale(0.4) brightness(0.55) contrast(1.05);
	transition: filter 480ms var(--sdk-ease), transform 600ms var(--sdk-ease);
	z-index: -1;
}
.sdk-svc::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 30%, oklch(0.10 0.02 350 / 0.85) 100%);
	z-index: -1;
}
.sdk-svc:hover::before,
.sdk-svc:focus-visible::before {
	filter: grayscale(0) brightness(0.75) contrast(1.05);
	transform: scale(1.04);
}
.sdk-svc h3 {
	font-family: 'Anton', sans-serif;
	font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
	line-height: 1;
	text-transform: uppercase;
	margin: 0 0 0.4rem;
	color: var(--sdk-ivory);
	letter-spacing: 0.01em;
}
.sdk-svc p {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.85;
	max-width: 38ch;
}
.sdk-svc .sdk-svc-tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--sdk-spot);
	margin-bottom: 0.6rem;
}

/* Vary the tile sizes — anti card-grid: */
.sdk-svc.is-rental   { grid-column: span 4; min-height: 380px; }
.sdk-svc.is-corp     { grid-column: span 2; }
.sdk-svc.is-wedding  { grid-column: span 3; }
.sdk-svc.is-projector{ grid-column: span 3; }

@media (max-width: 900px) {
	.sdk-services { grid-template-columns: 1fr; }
	.sdk-svc, .sdk-svc.is-rental, .sdk-svc.is-corp,
	.sdk-svc.is-wedding, .sdk-svc.is-projector { grid-column: span 1; }
}

/* Section: about Ken — portrait + bio, no card. */
.sdk-about {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 2fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
	padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 80% 20%, oklch(0.85 0.18 75 / 0.10), transparent 50%),
		var(--sdk-backstage);
}
.sdk-about__portrait {
	aspect-ratio: 4/5;
	object-fit: cover;
	width: 100%;
	border-radius: 2px;
	box-shadow:
		0 0 0 1px oklch(0.85 0.18 75 / 0.4),
		0 30px 60px oklch(0.10 0.02 350 / 0.5);
	filter: contrast(1.03) saturate(1.05);
}
.sdk-about__credits {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem 1.5rem;
}
.sdk-about__credits li {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	font-size: 0.95rem;
}
.sdk-about__credits li::before {
	content: "★";
	color: var(--sdk-spot);
	font-size: 0.8em;
}

@media (max-width: 760px) {
	.sdk-about { grid-template-columns: 1fr; }
	.sdk-about__portrait { max-width: 280px; }
	.sdk-about__credits { grid-template-columns: 1fr; }
}

/* Songbook teaser — a horizontal "set list" scroller of song titles, like a
   karaoke book preview. */
.sdk-setlist {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: var(--sdk-stage);
	overflow: hidden;
	border-block: 1px solid oklch(0.85 0.18 75 / 0.20);
}
.sdk-setlist__rail {
	display: flex;
	gap: 3.5rem;
	white-space: nowrap;
	font-family: 'Anton', sans-serif;
	font-size: clamp(1.75rem, 1rem + 2.5vw, 3rem);
	text-transform: uppercase;
	color: var(--sdk-ivory);
	opacity: 0.85;
	letter-spacing: 0.04em;
	animation: sdk-rail 40s linear infinite;
	width: max-content;
}
.sdk-setlist__rail span { display: inline-flex; align-items: center; gap: 1rem; }
.sdk-setlist__rail span::after {
	content: "♪";
	color: var(--sdk-spot);
	font-size: 0.7em;
}
@keyframes sdk-rail {
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.sdk-setlist__rail { animation: none; overflow-x: auto; }
}

/* Contact block — full-bleed CTA with phone + form prompt. */
.sdk-contact {
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 50% 0%, oklch(0.85 0.18 75 / 0.45) 0%, transparent 55%),
		var(--sdk-stage);
	text-align: center;
}
.sdk-contact h2 {
	margin: 0 0 1.5rem;
	font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem);
}
.sdk-contact .sdk-phone {
	margin: 1rem 0;
}

/* Header & footer — minimal, condensed, all-caps. */
.wp-block-site-title a {
	color: var(--sdk-ivory) !important;
	text-decoration: none;
}
.wp-block-navigation .wp-block-navigation-item__content {
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	color: var(--sdk-ivory);
}
.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--sdk-spot);
}

/* Image polish: subtle film grain on dark photographs. */
.sdk-photo {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 2px;
}
.sdk-photo img {
	display: block;
	width: 100%;
	height: auto;
	filter: contrast(1.03) saturate(1.05);
}

/* Hidden utility, sr-only */
.sdk-sr { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
