/*
 * Asheville Vintage Market. Colors, type and spacing follow the client's
 * style guide (Asheville Vintage Market Site Build.docx) and the
 * "Homepage – Blue Ridge" design.
 */
:root {
	--cream: #FBF9F4;
	--deep-cream: #F3EFE6;
	--ink: #161616;
	--blue: #3A63B0;
	--blue-dark: #2F5296;
	--light-blue: #E1E8F6;
	--gray: #BDBDBD;
	--line: 1.5px solid var(--ink);
	--head: 'Archivo', system-ui, sans-serif;
	--body: 'Source Sans 3', system-ui, sans-serif;
	--wrap: 1240px;
	--pad: 32px;
	--section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.6;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); padding-bottom: var(--section); }

.skip {
	position: absolute; left: 12px; top: -60px; z-index: 10;
	background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
	font-family: var(--head); font-weight: 600;
}
.skip:focus { top: 12px; color: var(--cream); }

/* Type */
h1, h2 {
	margin: 0 0 18px;
	font-family: var(--head);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.1;
	color: inherit;
}
h1 { font-size: clamp(36px, 5.2vw, 50px); line-height: 1.05; margin-bottom: 20px; }
h2 { font-size: clamp(30px, 4vw, 38px); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 20px; max-width: 600px; }
.label {
	margin: 0 0 10px;
	font-family: var(--head);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Buttons: fully rounded pills */
.btn {
	display: inline-block;
	background: var(--blue);
	color: var(--cream);
	border: 0;
	border-radius: 999px;
	padding: 15px 26px;
	font-family: var(--head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s;
}
.btn:hover { background: var(--blue-dark); color: var(--cream); }
.btn-lg { padding: 18px 34px; font-size: 16px; letter-spacing: 0.08em; }

/* Header */
.site-header { border-bottom: var(--line); background: var(--cream); }
.nav {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.nav-logo img { width: 124px; height: auto; }
.nav-links {
	display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
	margin: 0; padding: 0; list-style: none;
	font-family: var(--head); font-weight: 600; font-size: 14px;
	letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.nav-links .btn { padding: 12px 20px; font-size: 14px; letter-spacing: 0.08em; }

/* Hero with the looping market video */
.hero { position: relative; overflow: hidden; background: #C8C1B4; }
.hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; max-width: none;
}
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--cream) 0%, rgba(251,249,244,0.94) 38%, rgba(251,249,244,0.55) 62%, rgba(251,249,244,0.1) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 96px; }
.wordmark { width: 100%; max-width: 610px; height: auto; margin: 8px 0 52px -10px; }

/* Next Market banner */
.next-market { background: var(--blue); color: var(--cream); scroll-margin-top: 0; }
.next-market .wrap {
	display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px;
	padding-top: 28px; padding-bottom: 28px;
}
.next-market .when { flex: 1 1 240px; }
.next-market .label { color: var(--light-blue); margin-bottom: 2px; }
.next-market .date {
	margin: 0; font-family: var(--head); font-weight: 500;
	letter-spacing: -0.015em; font-size: 30px; line-height: 1.1;
}
.next-market .fact { margin: 0; flex: 0 1 auto; line-height: 1.4; }
.next-market .fact a { color: var(--cream); }

/* Info strip */
.strip { border-top: var(--line); border-bottom: var(--line); }
.strip ul {
	display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center;
	gap: 12px 40px; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; list-style: none;
	font-family: var(--head); font-weight: 800; font-size: 16px;
	letter-spacing: 0.12em; text-transform: uppercase;
}
.strip .star { color: var(--blue); }

/* Two columns */
.cols { display: flex; flex-wrap: wrap; gap: 48px; }
.cols > * { flex: 1 1 480px; min-width: 0; }
.cta-line { font-weight: 600; margin-top: 24px; }

/* More Than Just a Vintage Market */
.band { background: var(--deep-cream); border-top: var(--line); border-bottom: var(--line); }
.feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.feature-photo { flex: 1 1 380px; min-width: 0; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.feature-copy { flex: 999 1 520px; min-width: 0; }

/* Merch */
.merch { background: var(--ink); color: var(--cream); padding-bottom: 72px; }
.merch .intro { padding-top: var(--section); padding-bottom: 48px; }
.merch .intro > div { max-width: 760px; }
.merch .intro p { margin-bottom: 28px; }
.gallery {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
	margin: 0; padding: 0; list-style: none;
}
.gallery li {
	flex: 0 0 300px; height: 375px; scroll-snap-align: start;
	background: var(--cream); padding: 24px; display: flex; align-items: center;
}
.gallery img { width: 100%; height: auto; }
.gallery-hint { margin: 16px auto 0; color: var(--gray); font-size: 15px; }

/* Accordions (FAQ) */
.faq-list { border-top: var(--line); max-width: 1240px; }
.faq-list details { border-bottom: var(--line); }
.faq-list summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 20px 4px; cursor: pointer; list-style: none;
	font-family: var(--head); font-weight: 800; font-size: 19px; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 auto; transition: transform 0.2s; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { padding: 0 4px 22px; max-width: 760px; }
.faq-more { margin-top: 36px; }

/* Inner pages */
.page-head { border-bottom: var(--line); }
.page-head .wrap { padding-top: 88px; padding-bottom: 72px; }
.page-head .lead { max-width: 720px; }
.prose { max-width: 760px; }
.steps { margin: 0 0 32px; padding-left: 1.4em; }
.steps li { margin-bottom: 10px; padding-left: 6px; }
.steps li::marker { font-family: var(--head); font-weight: 800; color: var(--blue); }

/* Vendor notification form */
.signup { background: var(--deep-cream); border-top: var(--line); border-bottom: var(--line); scroll-margin-top: 0; }
.form { max-width: 640px; display: grid; gap: 20px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--head); font-weight: 600; font-size: 15px; }
.field .opt { font-family: var(--body); font-weight: 400; color: #555; }
.field input {
	width: 100%; padding: 14px 16px; border: var(--line); border-radius: 12px;
	background: var(--cream); color: var(--ink); font: inherit;
}
.field input:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: #1F6B3A; }
.form-status.err { color: #A3262A; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); }
.site-footer .wrap {
	display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
	padding-top: 56px; padding-bottom: 56px;
}
.site-footer a { color: var(--cream); }
.site-footer .label { color: var(--gray); }
.foot-brand { flex: 1 1 260px; }
.foot-name { margin: 0 0 6px; font-family: var(--head); font-weight: 500; letter-spacing: -0.015em; font-size: 24px; }
.foot-tag { margin: 0; color: var(--gray); }
.foot-col { flex: 0 1 220px; }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li { margin-bottom: 4px; }
.foot-col li a { text-decoration: none; }
.foot-col li a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; }
.social a {
	width: 48px; height: 48px; border: 1.5px solid var(--cream); border-radius: 999px;
	display: flex; align-items: center; justify-content: center; color: var(--cream);
}
.social a:hover { background: var(--cream); color: var(--ink); }

/* Pause button for the hero video (moving content needs a way to stop it) */
.video-toggle {
	position: absolute; right: 24px; bottom: 20px; z-index: 2;
	background: var(--ink); color: var(--cream); border: 0; border-radius: 999px;
	padding: 8px 14px; cursor: pointer;
	font-family: var(--head); font-weight: 600; font-size: 12px;
	letter-spacing: 0.1em; text-transform: uppercase;
}
.video-toggle:hover { background: #333; }

/* Social icons on cream */
.social.dark a { border-color: var(--ink); color: var(--ink); }
.social.dark a:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 760px) {
	:root { --pad: 20px; --section: 64px; }
	.nav { justify-content: center; }
	.nav-links { justify-content: center; gap: 14px 22px; font-size: 13px; }
	.hero::after { background: rgba(251,249,244,0.86); }
	.hero-inner { padding-top: 48px; padding-bottom: 56px; }
	.wordmark { margin: 0 0 32px -6px; }
	.lead { font-size: 18px; }
	.strip ul { font-size: 13px; justify-content: center; gap: 8px 18px; }
	.strip .star { display: none; }
	.page-head .wrap { padding-top: 56px; padding-bottom: 48px; }
	.gallery li { flex-basis: 260px; height: 325px; }
}
