/*
Theme Name: ARCD
Theme URI: https://arcd.com
Description: One-page theme for Arkansas Record-CD Exchange, North Little Rock. Retro black-and-yellow design with mailing-list sign-up.
Author: Hardwyre
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: arcd
*/

:root {
	--ink: #141210;
	--yellow: #F2C400;
	--paper: #FBF6EA;
	--card: #FFFDF7;
	--muted: #4A443B;
	--kicker: #6B5A00;
	--display: 'Archivo Black', 'Arial Black', sans-serif;
	--body: 'Work Sans', system-ui, sans-serif;
	--mono: 'Space Mono', ui-monospace, monospace;
}

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: #5A4A00; }
img { max-width: 100%; height: auto; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Top strip */
.topbar {
	background: var(--ink); color: var(--yellow);
	font: 700 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
	padding: 9px 20px; display: flex; flex-wrap: wrap; gap: 6px 24px;
	justify-content: center; text-align: center;
}
.topbar a { color: var(--yellow); }

/* Buttons */
.cta-btn {
	display: inline-flex; align-items: center; gap: 12px;
	background: var(--yellow); color: var(--ink); text-decoration: none;
	font: 800 20px/1.2 var(--body);
	padding: 18px 30px; min-height: 62px;
	border: 3px solid var(--ink); border-radius: 12px;
	box-shadow: 6px 6px 0 var(--ink); cursor: pointer;
	transition: transform .12s, box-shadow .12s;
}
.cta-btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.cta-btn:focus-visible, .join-input:focus-visible, .pill:focus-visible { outline: 3px solid #1F6FD1; outline-offset: 3px; }

.text-link {
	font-weight: 700; font-size: 16px; padding: 12px 4px; min-height: 44px;
	display: inline-flex; align-items: center;
}

.pill {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	padding: 10px 16px; border: 2px solid var(--ink); border-radius: 999px;
	font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink);
}
.pill:hover { background: var(--ink); color: var(--yellow); }

/* Hero */
.hero { padding-top: 40px; padding-bottom: 64px; }
.hero-logo { width: min(400px, 100%); display: block; margin-bottom: 26px; }
.hero h1 {
	margin: 0; font-family: var(--display); font-weight: 400;
	font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.01em;
	max-width: 900px;
}
.hero-copy {
	margin: 20px 0 0; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55;
	max-width: 620px; color: var(--muted);
}
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Format ribbon */
.ribbon {
	background: var(--yellow); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
	padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
	font: 700 15px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}

/* Cards */
.cards {
	padding-top: 64px; padding-bottom: 64px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
}
.card {
	background: var(--card); border: 3px solid var(--ink); border-radius: 16px;
	box-shadow: 6px 6px 0 var(--ink); padding: 26px;
}
.kicker {
	margin: 0; font: 700 12px/1.4 var(--mono); letter-spacing: .12em;
	text-transform: uppercase; color: var(--kicker);
}
.card h2 { margin: 10px 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.card p:not(.kicker) { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

/* Join */
.join { padding: 0 20px 80px; scroll-margin-top: 20px; }
.join-box {
	max-width: 1100px; margin: 0 auto; background: var(--ink); color: var(--paper);
	border: 3px solid var(--ink); border-radius: 24px; box-shadow: 12px 12px 0 var(--yellow);
	padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
}
.join-text { flex: 999 1 380px; min-width: 0; }
.join-text .kicker { color: var(--yellow); font-size: 14px; letter-spacing: .14em; }
.join-text h2 {
	margin: 12px 0 14px; font-family: var(--display); font-weight: 400;
	font-size: clamp(34px, 5.6vw, 60px); line-height: 1.02; color: var(--yellow);
}
.join-text p:last-child { margin: 0; font-size: 18px; line-height: 1.55; max-width: 460px; }
.join-form-wrap { flex: 1 1 340px; min-width: 0; }
.join-form { display: flex; flex-direction: column; gap: 14px; }
.join-form label { font-weight: 800; font-size: 16px; }
.join-input {
	font: 400 18px var(--body); padding: 16px 18px; min-height: 58px; width: 100%;
	border: 3px solid var(--yellow); border-radius: 12px; background: var(--card); color: var(--ink);
}
.join-form .cta-btn {
	justify-content: center; font-size: 21px; min-height: 64px;
	border-color: var(--yellow); box-shadow: 6px 6px 0 var(--paper);
}
.join-form .cta-btn:hover { box-shadow: 8px 8px 0 var(--yellow); }
.join-note { margin: 0; font-size: 13px; line-height: 1.5; color: #CFC7B6; }
.join-error { margin: 0; font-weight: 700; color: #FF8A70; }
.join-success { background: var(--yellow); color: var(--ink); border-radius: 16px; padding: 28px; }
.join-success p:first-child { margin: 0; font-family: var(--display); font-size: 30px; }
.join-success p:last-child { margin: 10px 0 0; font-size: 16px; line-height: 1.55; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--yellow); border-top: 3px solid var(--ink); padding: 52px 20px 40px; }
.footer-grid {
	max-width: 1200px; margin: 0 auto;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px;
}
.footer-logo { width: 160px; display: block; margin-bottom: 12px; }
.footer-label { margin: 0 0 8px; font: 700 13px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: 17px; line-height: 1.6; }
.site-footer .small { margin-top: 6px; font-size: 14px; line-height: 1.5; }
.phone-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 17px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .copyright { max-width: 1200px; margin: 40px auto 0; font: 12px/1.4 var(--mono); }

/* Mobile sticky CTA */
.sticky-join {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--ink);
}
.sticky-join a {
	flex: 1; background: var(--yellow); color: var(--ink); text-decoration: none;
	font-weight: 800; font-size: 18px; min-height: 52px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
}

/* Inner pages (index.php) */
.page-content { padding-top: 48px; padding-bottom: 72px; max-width: 820px; font-size: 18px; line-height: 1.65; }
.page-content h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; }

@media (max-width: 640px) {
	.sticky-join { display: flex; }
	.hero-logo { width: min(300px, 100%); }
	.site-footer { padding-bottom: 110px; }
}
