/* MHITR Festival — mhitrfestival.com redesign
   Palette sampled from client artwork/buttons. Display face Anton echoes the
   condensed caps of the ticket buttons; Archivo carries body copy. */

:root {
  --red: #ee2d24;        /* sampled from ticket buttons */
  --red-deep: #c31f17;
  --ink: #0b0b0b;        /* under-the-flyover shadow */
  --concrete: #1a1a1a;
  --ash: #b8b4ae;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --nav-h: 62px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); }

::selection { background: var(--red); color: var(--white); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Inline SVG star — the M★H★I★T★F signature glyph. SVG rather than the
   U+2605 character so it never falls back to a tofu box on devices without
   a symbol font. Colour comes from fill: currentColor unless overridden. */
svg.star {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  fill: var(--red);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- Blurred artwork backdrop (homepage) ---------- */

/* The lineup artwork itself, blurred to atmosphere. Fixed div rather than
   background-attachment: fixed (broken on iOS). 480px source is fine — the
   blur erases detail. Negative inset overscans past the blur edge fringe. */
.backdrop {
  position: fixed;
  inset: -48px;
  z-index: -1;
  background: var(--ink) url("../img/lineup-480.jpg") center / cover no-repeat;
  filter: blur(34px) brightness(0.38) saturate(1.15);
  pointer-events: none;
}

/* ---------- Menu bar ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

/* Raised off the baseline so the stars sit optically centered in the caps */
.nav-brand .star { width: 0.5em; height: 0.5em; margin: 0 1px; vertical-align: 0.14em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ash);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); }

.nav-cta {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--red);
  padding: 9px 16px 8px;
  line-height: 1;
  text-decoration: none;
}

.nav-cta:hover { box-shadow: inset 0 0 0 2px var(--white); }

/* ---------- Home: flyer column ---------- */

.flyer {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 16px 72px;
}

.flyer .artwork {
  width: 100%;
  box-shadow:
    0 36px 90px -24px rgba(0, 0, 0, 0.9),
    0 12px 32px rgba(0, 0, 0, 0.55);
  outline: 1px solid rgba(255, 255, 255, 0.08);
}

.onsale-title {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: clamp(34px, 8.4vw, 56px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  color: var(--red);
  margin: 36px 0 20px;
}

.buy-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 20px 22px 18px;
  margin-top: 14px;
  transition: background 0.12s ease, color 0.12s ease;
}

.buy-btn-vendor {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: clamp(24px, 5.6vw, 30px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.buy-btn-tag {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.buy-btn-tag .star { fill: currentColor; width: 10px; height: 10px; margin-right: 8px; }

.buy-btn:hover,
.buy-btn:focus-visible {
  background: var(--white);
  color: var(--red);
}

/* ---------- FAQ page ---------- */

/* Elevated panel over the blurred backdrop — the FAQ page's counterpart to
   the homepage poster: same layered shadow + hairline edge. */
.faq-wrap {
  width: min(760px, calc(100% - 24px));
  margin: 40px auto 72px;
  padding: 48px 28px 56px;
  background: rgba(11, 11, 11, 0.82);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 36px 90px -24px rgba(0, 0, 0, 0.9),
    0 12px 32px rgba(0, 0, 0, 0.55);
}

.faq-eyebrow {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}

.faq-eyebrow .star { fill: var(--white); width: 9px; height: 9px; margin: 0 6px; }

.faq-title {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: clamp(64px, 14vw, 110px);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  margin: 10px 0 8px;
}

.faq-sub {
  text-align: center;
  color: var(--ash);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 44px;
}

.faq-list { border-bottom: 1px solid var(--line); }

.faq-item { border-top: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 4px;
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.25;
}

.faq-item summary::-webkit-details-marker { display: none; }

/* Star marker: 5-point star flips point-down at 36° when open */
.faq-item summary::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 5px;
  flex: 0 0 auto;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ee2d24"><path d="M12 .8l2.7 8.3h8.7l-7 5.1 2.7 8.2-7.1-5.1-7.1 5.1 2.7-8.2-7-5.1h8.7z"/></svg>') no-repeat center / contain;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::before { transform: rotate(36deg); }

.faq-item summary:hover { color: var(--red); }

.faq-body {
  padding: 0 4px 22px 32px;
  color: var(--ash);
  font-size: 15px;
}

.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }

.faq-body ul { margin: 0 0 12px 18px; }
.faq-body li { margin-bottom: 7px; }
.faq-body li::marker { color: var(--red); }

.faq-body strong { color: var(--white); font-weight: 600; }

.faq-body a { color: var(--red); }

.faq-cta {
  text-align: center;
  margin-top: 48px;
}

.faq-cta a {
  display: inline-block;
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 15px 34px 13px;
  line-height: 1;
  text-decoration: none;
}

.faq-cta a:hover { box-shadow: inset 0 0 0 2px var(--white); }

.faq-cta .star { fill: currentColor; width: 12px; height: 12px; }

/* ---------- Footer ---------- */

/* Standard footer strip (basslayerz pattern): legal + built-by left,
   links right; collapses to centred stack on narrow screens. */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 18px clamp(16px, 4vw, 40px) 26px;
  background: rgba(11, 11, 11, 0.72);
  color: var(--ash);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.footer p { margin: 0; }

.footer .star { width: 9px; height: 9px; margin: 0 8px; vertical-align: 0.02em; }

.footer a { color: var(--ash); white-space: nowrap; }
.footer a:hover { color: var(--white); }

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-built a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-built a:hover { border-color: var(--red); color: var(--white); }

.site-built img { display: block; opacity: 0.9; }

@media (max-width: 879px) {
  .footer { justify-content: center; text-align: center; }
  .footer-left { justify-content: center; }
}

/* ---------- Responsive / a11y ---------- */

@media (max-width: 520px) {
  .nav { padding: 0 14px; gap: 10px; }
  .nav-brand { font-size: 18px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.1em; }
  .nav-cta { font-size: 13px; padding: 8px 12px 7px; }
  .buy-btn { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px 15px; }
  .faq-item summary { font-size: 17px; }
  .faq-body { padding-left: 28px; }
  .faq-wrap { margin: 20px auto 48px; padding: 36px 16px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-item summary::before, .buy-btn { transition: none; }
}
