/*
 * Arpa International Film Festival — white-label theme
 * tickets.arpafilmfestival.com (SiteID 8)
 *
 * Aesthetic: cinematheque marquee. Near-black ground, projector-warm gold,
 * film-perforation rules, high-contrast Bodoni display against condensed
 * uppercase meta. Laurel motif for the festival's award heritage.
 *
 * Copyright 2005-Present, ITS MY SEAT INC.
 */

:root {
	--ar-black:      #0b0b0c;
	--ar-black-2:    #141416;
	--ar-panel:      #18181b;
	--ar-ivory:      #f2ede4;
	--ar-ivory-dim:  #a49e93;
	--ar-gold:       #c9a227;
	--ar-gold-hi:    #e8c65b;
	--ar-pomegranate:#8e2b2b;
	--ar-display:    'Bodoni Moda', 'Didot', Georgia, serif;
	--ar-meta:       'Barlow Condensed', 'Arial Narrow', sans-serif;
	--ar-body:       'Barlow', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	background: var(--ar-black);
	color: var(--ar-ivory);
	font-family: var(--ar-body);
	font-weight: 300;
	line-height: 1.6;
	overflow-x: hidden;
	/* Faint projector vignette so the black has depth instead of reading flat */
	background-image:
		radial-gradient(120% 80% at 50% -10%, rgba(201,162,39,.10), transparent 60%),
		radial-gradient(90% 60% at 50% 110%, rgba(142,43,43,.10), transparent 65%);
	background-attachment: fixed;
}

.ar-page { position: relative; }

/* ---------- film perforation rule ----------
   Two rows of sprocket holes, used as section dividers and as the top/bottom
   edge of the hero. Pure CSS so it scales at any width. */
.ar-perf {
	height: 22px;
	background-color: var(--ar-black-2);
	background-image:
		radial-gradient(circle at 11px 11px, var(--ar-black) 0 4.5px, transparent 5px);
	background-size: 22px 22px;
	border-top: 1px solid rgba(242,237,228,.10);
	border-bottom: 1px solid rgba(242,237,228,.10);
}

/* ---------- navigation ---------- */
.ar-nav {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; gap: 1.5rem;
	padding: .85rem 1.6rem;
	background: rgba(11,11,12,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(201,162,39,.28);
}
.ar-nav-logo { flex: none; display: block; }
.ar-nav-logo img { height: 46px; width: auto; display: block; }

.ar-nav-links {
	list-style: none;
	margin-left: auto;
	display: flex; align-items: center; gap: 1.9rem;
}
.ar-nav-links a {
	font-family: var(--ar-meta);
	font-size: 1rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ar-ivory-dim);
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 1px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}
.ar-nav-links a:hover,
.ar-nav-links a.active { color: var(--ar-gold-hi); border-bottom-color: var(--ar-gold); }

.ar-hamburger {
	display: none;
	margin-left: auto;
	width: 40px; height: 32px;
	background: none; border: 0; cursor: pointer;
	flex-direction: column; justify-content: center; gap: 6px;
}
.ar-hamburger span {
	display: block; height: 2px; width: 26px;
	background: var(--ar-gold);
	transition: transform .25s ease, opacity .25s ease;
}
.ar-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ar-hamburger.open span:nth-child(2) { opacity: 0; }
.ar-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.ar-hero {
	position: relative;
	text-align: center;
	padding: 5.5rem 1.5rem 4.25rem;
	overflow: hidden;
}
/* Faint frame-lines evoking a strip of film running behind the title */
.ar-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: repeating-linear-gradient(
		90deg,
		rgba(242,237,228,.035) 0 1px,
		transparent 1px 92px
	);
	pointer-events: none;
}
.ar-hero-laurel {
	font-family: var(--ar-meta);
	font-size: .95rem;
	letter-spacing: .42em;
	text-transform: uppercase;
	color: var(--ar-gold);
	display: inline-flex; align-items: center; gap: 1.1rem;
	animation: ar-rise .8s .05s both;
}
.ar-hero-laurel::before,
.ar-hero-laurel::after {
	content: "";
	width: 46px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--ar-gold));
}
.ar-hero-laurel::after { background: linear-gradient(90deg, var(--ar-gold), transparent); }

.ar-hero h1 {
	font-family: var(--ar-display);
	font-weight: 700;
	font-size: clamp(2.6rem, 7.5vw, 5.6rem);
	line-height: 1.02;
	letter-spacing: .01em;
	margin: 1.1rem 0 0;
	color: #fff;
	animation: ar-rise .8s .18s both;
}
.ar-hero h1 em {
	display: block;
	font-style: italic;
	font-weight: 400;
	color: var(--ar-gold-hi);
}
.ar-hero-tagline {
	max-width: 46ch;
	margin: 1.4rem auto 0;
	color: var(--ar-ivory-dim);
	font-size: clamp(1rem, 2vw, 1.14rem);
	animation: ar-rise .8s .32s both;
}
.ar-hero-cta {
	display: inline-flex; align-items: center; gap: .8rem;
	margin-top: 2.2rem;
	font-family: var(--ar-meta);
	font-size: 1.05rem;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--ar-black);
	background: linear-gradient(180deg, var(--ar-gold-hi), var(--ar-gold));
	border: 1px solid var(--ar-gold-hi);
	padding: .85em 2.2em;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
	animation: ar-rise .8s .44s both;
}
.ar-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(201,162,39,.32); }
.ar-hero-cta .arrow { transition: transform .2s ease; }
.ar-hero-cta:hover .arrow { transform: translateY(3px); }

@keyframes ar-rise {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ar-hero-laurel, .ar-hero h1, .ar-hero-tagline, .ar-hero-cta, .ar-card { animation: none !important; }
}

/* ---------- events ---------- */
.ar-events { max-width: 1140px; margin: 0 auto; padding: 4.25rem 1.5rem 2rem; }

.ar-events-header { text-align: center; margin-bottom: 3rem; }
.ar-events-eyebrow {
	font-family: var(--ar-meta);
	font-size: .9rem; letter-spacing: .4em; text-transform: uppercase;
	color: var(--ar-gold);
}
.ar-events-header h2 {
	font-family: var(--ar-display);
	font-weight: 400; font-style: italic;
	font-size: clamp(2rem, 4.6vw, 3.1rem);
	color: #fff;
	margin-top: .5rem;
}
.ar-events-header p { color: var(--ar-ivory-dim); margin-top: .7rem; }

.ar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 2rem;
}

/* Ticket-stub card: notched at the waist where a stub would tear */
.ar-card {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--ar-panel);
	border: 1px solid rgba(242,237,228,.10);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	animation: ar-rise .7s both;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ar-card:hover {
	transform: translateY(-6px);
	border-color: rgba(201,162,39,.55);
	box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 44px rgba(201,162,39,.10);
}

.ar-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ar-black-2); }
.ar-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.ar-card:hover .ar-card-img img { transform: scale(1.05); }
/* Gold hairline under the still, like a frame edge */
.ar-card-img::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--ar-gold), transparent);
	opacity: .65;
}

.ar-badge {
	position: absolute; top: .85rem; left: .85rem;
	font-family: var(--ar-meta);
	font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
	padding: .28em .85em;
	background: rgba(11,11,12,.86);
	backdrop-filter: blur(3px);
	border: 1px solid currentColor;
}
.ar-badge-sold    { color: var(--ar-ivory-dim); }
.ar-badge-urgent  { color: #e8734a; }
.ar-badge-limited { color: var(--ar-gold-hi); }

.ar-card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.ar-card-date {
	font-family: var(--ar-meta);
	font-size: .92rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ar-gold);
}
.ar-card-title {
	font-family: var(--ar-display);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.16;
	color: #fff;
}
.ar-card-subtitle { color: var(--ar-ivory-dim); font-size: .95rem; font-style: italic; }
.ar-card-venue { color: var(--ar-ivory-dim); font-size: .86rem; }
.ar-card-cta {
	margin-top: auto; padding-top: 1rem;
	font-family: var(--ar-meta);
	font-size: .95rem; letter-spacing: .22em; text-transform: uppercase;
	color: var(--ar-gold-hi);
	display: inline-flex; align-items: center; gap: .5rem;
}
.ar-card-cta-arrow { transition: transform .2s ease; }
.ar-card:hover .ar-card-cta-arrow { transform: translateX(5px); }

.ar-empty {
	text-align: center;
	padding: 4rem 1.5rem;
	border: 1px dashed rgba(201,162,39,.35);
	color: var(--ar-ivory-dim);
	font-family: var(--ar-display);
	font-style: italic;
	font-size: 1.25rem;
}

/* ---------- about strip ---------- */
.ar-about {
	max-width: 900px;
	margin: 3.5rem auto 0;
	padding: 0 1.5rem 3.5rem;
	text-align: center;
}
.ar-about p {
	font-family: var(--ar-display);
	font-style: italic;
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	line-height: 1.55;
	color: var(--ar-ivory);
}
.ar-about .ar-about-attr {
	display: block;
	margin-top: 1.1rem;
	font-family: var(--ar-meta);
	font-style: normal;
	font-size: .9rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--ar-gold);
}

/* ---------- footer ---------- */
.ar-footer { text-align: center; padding: 2.75rem 1.5rem 3.5rem; }
.ar-footer-links {
	list-style: none;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem;
	margin-bottom: 1.4rem;
}
.ar-footer-links a {
	font-family: var(--ar-meta);
	font-size: .92rem; letter-spacing: .18em; text-transform: uppercase;
	color: var(--ar-ivory-dim); text-decoration: none;
	transition: color .2s ease;
}
.ar-footer-links a:hover { color: var(--ar-gold-hi); }
.ar-footer-copy    { color: var(--ar-ivory-dim); font-size: .84rem; }
.ar-footer-powered { color: #6d675e; font-size: .8rem; margin-top: .5rem; }
.ar-footer-powered a { color: var(--ar-gold); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
	.ar-hamburger { display: flex; }
	.ar-nav-links {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: flex-start; gap: 0;
		background: rgba(11,11,12,.98);
		border-bottom: 1px solid rgba(201,162,39,.28);
		max-height: 0; overflow: hidden;
		transition: max-height .3s ease;
	}
	.ar-nav-links.open { max-height: 60vh; }
	.ar-nav-links li { width: 100%; }
	.ar-nav-links a {
		display: block; width: 100%;
		padding: .95rem 1.6rem;
		border-bottom: 1px solid rgba(242,237,228,.07);
	}
	.ar-nav-links a:hover, .ar-nav-links a.active { border-bottom-color: rgba(242,237,228,.07); }
}
@media (max-width: 560px) {
	.ar-grid { grid-template-columns: 1fr; }
	.ar-hero { padding: 3.75rem 1.25rem 3rem; }
}
