/*
Theme Name: PR Has Talent
Theme URI: https://prhastalent.co.uk
Description: Minimal child theme of Storefront built for the PR Has Talent charity talent show, in aid of Soho Theatre. Requires WooCommerce's Storefront theme as parent.
Author: Curzon PR
Template: storefront
Version: 1.1.4
Text Domain: prhastalent
*/

/* =========================================================
   PR Has Talent — brand tokens
   ========================================================= */
:root {
	--pht-bg-dark: #200202;
	--pht-red: #DC143C; /* crimson */
	--pht-red-dark: #a60f2e;
	--pht-gold: #d4af37;
	--pht-cream: #f7f1e8;
	--pht-ink: #1a1a1a;
	--pht-font-display: 'Anton', 'Oswald', sans-serif;
	--pht-font-body: 'Inter', -apple-system, sans-serif;
}

body {
	font-family: var(--pht-font-body);
	color: var(--pht-ink);
	overflow-x: hidden;
}

h1, h2, h3, h4,
.site-title,
.pht-hero__logo-fallback {
	font-family: var(--pht-font-display);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.2; margin: 0 0 16px; }

a { color: var(--pht-red-dark); }
a:hover { color: var(--pht-red); }

/* =========================================================
   Buttons — one reusable component, crimson red everywhere

   .pht-btn is the source of truth for box model (padding, sizing,
   radius, type). Native WordPress/WooCommerce buttons get the same
   look via the shared color/base rule below so nothing on the site
   renders a differently-shaped button.
   ========================================================= */
.button,
button,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.pht-btn {
	display: inline-block;
	box-sizing: border-box;
	background-color: var(--pht-red) !important;
	border: 2px solid var(--pht-red) !important;
	color: #fff !important;
	font-family: var(--pht-font-display);
	font-size: 0.95rem;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none !important;
	text-align: center;
	white-space: normal;
	padding: 16px 32px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
	box-shadow: 0 6px 18px rgba(220,20,60,0.28);
}
.button:hover,
.button:focus-visible,
button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
input[type="button"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wp-block-button__link:hover,
.pht-btn:hover,
.pht-btn:focus-visible {
	background-color: var(--pht-red-dark) !important;
	border-color: var(--pht-red-dark) !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(166,15,46,0.35);
}
.button:active,
button:active,
.pht-btn:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(166,15,46,0.3);
}

/* Outline variant — secondary action. Crimson outline on light backgrounds,
   flips to a white outline automatically on dark sections (hero/dark). */
.pht-btn--outline {
	background-color: transparent !important;
	border-color: var(--pht-red) !important;
	color: var(--pht-red) !important;
	box-shadow: none;
}
.pht-hero .pht-btn--outline,
.pht-section--dark .pht-btn--outline {
	border-color: #fff !important;
	color: #fff !important;
}
.pht-btn--outline:hover,
.pht-btn--outline:focus-visible {
	background-color: var(--pht-red) !important;
	border-color: var(--pht-red) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(220,20,60,0.3);
}

/* Small variant — inline CTAs within cards/copy */
.pht-btn--small { padding: 11px 22px; font-size: 0.82rem; }

/* =========================================================
   Apply modal
   ========================================================= */
body.pht-modal-open { overflow: hidden; }
.pht-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.pht-modal.is-open { display: flex; }
.pht-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(32,2,2,0.78);
}
.pht-modal__dialog {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 8px;
	padding: 44px 36px 36px;
	box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.pht-modal__dialog h3 { margin-top: 0; }
.pht-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pht-cream) !important;
	border: none !important;
	color: var(--pht-ink) !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 26px;
	font-weight: 400;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: none !important;
	padding: 0 !important;
}
.pht-modal__close:hover {
	background: var(--pht-red) !important;
	color: #fff !important;
	transform: none;
}

/* =========================================================
   Layout resets for the landing page
   ========================================================= */
/* Full-bleed breakout: escapes Storefront's boxed .col-full ancestor so
   every section's background runs edge-to-edge, independent of nesting. */
.pht-hero,
.pht-section {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}
/* Re-center the actual content inside the full-bleed section. */
.pht-hero > .col-full,
.pht-section > .col-full { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.pht-section { padding: 88px 0; }
.pht-section--alt { background: var(--pht-cream); }
.pht-section--dark { background: var(--pht-bg-dark); color: #fff; }
.pht-section--dark a { color: var(--pht-gold); }
.pht-eyebrow {
	display: inline-block;
	font-family: var(--pht-font-display);
	font-size: 21px;
	letter-spacing: 0.15em;
	color: var(--pht-red);
	margin-bottom: 12px;
	text-transform: uppercase;
}
.pht-section--dark .pht-eyebrow { color: var(--pht-gold); }
.pht-title { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 20px; }
.pht-section--dark .pht-title,
.pht-section--dark h2 { color: var(--pht-gold); }

/* =========================================================
   Gold shine — applied to every gold text element (hero tagline,
   dark-section eyebrows/titles, producer names). Base state is
   flat gold; .pht-shine-play sweeps a bright highlight across the
   text, (re)triggered by JS whenever the element scrolls into view.
   ========================================================= */
.pht-hero__tagline,
.pht-section--dark .pht-eyebrow,
.pht-section--dark .pht-title,
.pht-section--dark h2,
.pht-producer-card h3 {
	background-image: linear-gradient(100deg, var(--pht-gold) 35%, #fff6d2 50%, var(--pht-gold) 65%);
	background-size: 300% 100%;
	background-position: 150% 0;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
	.pht-shine-play {
		animation: pht-shine-sweep 3.2s ease-in-out forwards;
	}
}
@keyframes pht-shine-sweep {
	0% { background-position: 150% 0; }
	100% { background-position: -150% 0; }
}
.pht-lede { font-size: 1.15rem; line-height: 1.6; max-width: 720px; }

/* =========================================================
   Hero — full width, #200202 background, marquee logo
   ========================================================= */
.pht-hero {
	background: var(--pht-bg-dark) radial-gradient(ellipse at 60% 35%, #3a0808 0%, #200202 70%);
	color: #fff;
	padding-top: 20px;
	padding-bottom: 64px;
	text-align: center;
	overflow: hidden;
}
.pht-hero__logo {
	max-width: 800px;
	width: 100%;
	height: auto;
	margin: 0 auto 28px;
	display: block;
	filter: drop-shadow(0 12px 40px rgba(0,0,0,.55));
}
.pht-hero__tagline {
	font-family: var(--pht-font-display);
	font-size: clamp(1.5rem, 3.6vw, 2.4rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pht-gold);
	margin: 0 0 28px;
}
.pht-hero__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: center;
	max-width: 300px;
	margin: 0 auto 34px;
	font-size: 1rem;
	color: #f0d9d9;
}
.pht-hero__meta strong { color: #fff; }
.pht-hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.pht-hero__ctas .pht-btn { padding: 14px 30px; font-size: 0.95rem; }

/* =========================================================
   What is PR Has Talent
   ========================================================= */
.pht-intro { text-align: center; }
.pht-intro .pht-lede { margin: 0 auto; }

/* =========================================================
   Talent grid
   ========================================================= */
.pht-talent-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
	margin: 36px 0 40px;
	padding: 0;
	list-style: none;
}
.pht-talent-grid li {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e8dede;
	border-left: 4px solid var(--pht-red);
	padding: 14px 16px;
	font-weight: 600;
	border-radius: 4px;
}
.pht-talent-icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

/* =========================================================
   Two-column application block
   ========================================================= */
.pht-columns { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.pht-apply-card {
	background: #fff;
	border-radius: 8px;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(32,2,2,0.08);
}
.pht-apply-card h3 { margin-top: 0; }
.pht-apply-card ul { padding-left: 20px; }
.pht-apply-note { font-size: 0.9rem; font-style: italic; color: #6b6b6b; margin-top: 20px; }

/* =========================================================
   Supporting Soho Theatre
   ========================================================= */
.pht-support { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pht-support img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* =========================================================
   Producers / team
   ========================================================= */
.pht-producers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.pht-producer-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(212,175,55,0.35);
	border-radius: 8px;
	padding: 28px;
}
.pht-producer-card h3 { margin: 0 0 8px; color: var(--pht-gold); }
.pht-producer-card p { margin: 0; color: #e8d9d9; line-height: 1.55; }
.pht-producer-photo { border-radius: 8px; width: 100%; height: auto; margin-bottom: 40px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.pht-partner-line {
	text-align: center;
	color: #e8d9d9;
	font-size: 0.95rem;
	max-width: 700px;
	margin: 38px auto;
}

/* =========================================================
   Partner logos strip
   ========================================================= */
.pht-partners { display: flex; align-items: center; justify-content: center; gap: 64px; flex-wrap: wrap; margin-top: 20px; }
.pht-partners img { width: 150px; filter: grayscale(15%); }

/* =========================================================
   Final CTA
   ========================================================= */
.pht-final-cta { text-align: center; }
.pht-final-cta .pht-btn { padding: 16px 38px; font-size: 1.05rem; margin: 8px; }

@media (max-width: 780px) {
	.pht-columns,
	.pht-support,
	.pht-producers { grid-template-columns: 1fr; }
	.pht-section { padding: 56px 0; }
}

/* =========================================================
   Site chrome — landing page hides Storefront's default header,
   footer is restyled to match the brand.
   ========================================================= */
header#masthead {
	display: none;
}
.site-footer {
	background-color: #f7f1e8;
	color: #6d6d6d;
	padding: 0;
	margin: 0;
}
.site-info {
	text-align: center;
}

/* =========================================================
   Contact Form 7 — apply modal
   ========================================================= */
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 100px;
}
