/* Pitch-A-Friend Central Jersey at Komic Karma Club — page stylesheet.
   Loaded only on template-pitch-a-friend.php (see inc/pitch-a-friend.php).
   Hand-written, not Tailwind: every class is `paf-` prefixed.

   The look follows the event flyer:
     ground #050505, white text
     gold   #E3A829  time, labels, rules, key numbers   (10.1:1 on ground)
     orange #F26B1D  day of week, highlight words, divider (6.9:1 on ground)
   Anton for headlines, Barlow Condensed for labels, Barlow for body.

   Fonts are self-hosted (latin subset) next to this file, in fonts/, so the
   theme's build-fonts script — which empties assets/fonts — can't remove them. */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-400-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-500-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-600-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/barlow-condensed-600-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.paf {
  --paf-bg: #050505;
  --paf-fg: #ffffff;
  --paf-body: #cfcfcf;
  --paf-muted: #a8a8a8;
  --paf-gold: #E3A829;
  --paf-orange: #F26B1D;
  --paf-line: #262626;
  --paf-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --paf-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --paf-sans: "Barlow", system-ui, sans-serif;
  background: var(--paf-bg);
  color: var(--paf-fg);
  font-family: var(--paf-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
.paf *, .paf *::before, .paf *::after { box-sizing: border-box; }
.paf img, .paf video { display: block; max-width: 100%; height: auto; }

.paf-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.paf-wrap--narrow { max-width: 860px; }
.paf-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.paf-gold { color: var(--paf-gold); }
.paf-orange { color: var(--paf-orange); }
.paf-muted { color: var(--paf-muted); }

/* ── Type ──────────────────────────────────────────────────────────────── */
.paf-h2 {
  font-family: var(--paf-display); font-weight: 400; text-transform: uppercase;
  line-height: 1.04; letter-spacing: .005em;
  font-size: clamp(2.1rem, 6.4vw, 4rem);
  margin: 0 0 .5em;
}
.paf-h2--sm { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
.paf-label {
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: .9rem; color: var(--paf-gold);
  margin: 0 0 .9em;
}
.paf-body { color: var(--paf-body); margin: 0; }
.paf-lead { color: var(--paf-body); font-size: 1.15rem; max-width: 46ch; margin: 0; }
.paf-small { color: var(--paf-body); font-size: 1rem; margin: 1.1em 0 0; }
.paf-fine { color: var(--paf-muted); font-size: .9rem; margin: 2em 0 0; grid-column: 1 / -1; }
.paf-subhead {
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1.05rem; margin: 1.6em 0 .6em;
}
.paf-link {
  color: var(--paf-fg); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--paf-orange); text-decoration-thickness: 2px; text-underline-offset: 4px;
  display: inline-flex; align-items: center; min-height: 44px;
}
.paf-link:hover { color: var(--paf-gold); }
.paf a:focus-visible, .paf summary:focus-visible { outline: 2px solid var(--paf-gold); outline-offset: 3px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
/* Top padding clears the theme's social links, absolutely placed top-right. */
.paf-hero { padding: 64px 0 56px; }
.paf-hero__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; margin-bottom: 36px;
}
.paf .paf-logo { width: 150px; }
.paf-venue-flag {
  margin: 0; display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .24em; font-size: .9rem; line-height: 1.5; text-align: left;
}

.paf-hero__main { display: flex; flex-direction: column; gap: 32px; }
.paf-hero__mark { margin: 0; }
.paf-hero__mark img { width: min(78vw, 420px); }

.paf-hero__date { border-top: 3px solid var(--paf-orange); padding-top: 22px; }
.paf-day {
  margin: 0 0 .25em; color: var(--paf-orange);
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .28em; font-size: clamp(1.2rem, 3.2vw, 2rem);
}
.paf-bigdate { margin: 0; }
.paf-bigdate time { display: flex; flex-direction: column; }
.paf-bigdate__day, .paf-bigdate__time {
  font-family: var(--paf-display); font-weight: 400; text-transform: uppercase; line-height: 1.04;
}
.paf-bigdate__day { font-size: clamp(4.4rem, 19vw, 9.5rem); color: var(--paf-fg); }
.paf-bigdate__time { font-size: clamp(2.8rem, 11vw, 5.4rem); color: var(--paf-gold); }

.paf-chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.paf-chip {
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: 1rem; line-height: 1;
  padding: 12px 16px; border: 2px solid var(--paf-fg); border-radius: 3px;
}
.paf-chip--fill { background: var(--paf-gold); border-color: var(--paf-gold); color: #000; }

.paf-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.paf-btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 14px 24px; border-radius: 4px; border: 2px solid transparent;
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1.15rem; line-height: 1.1; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.paf-btn--primary { background: var(--paf-orange); color: #000; }
.paf-btn--primary:hover { background: #ff8a45; }
.paf-btn--ghost { border-color: var(--paf-fg); color: var(--paf-fg); }
.paf-btn--ghost:hover { border-color: var(--paf-gold); color: var(--paf-gold); }
.paf-note { color: var(--paf-muted); font-size: .95rem; margin: 14px 0 0; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.paf-section { padding: 64px 0; border-top: 1px solid var(--paf-line); }
.paf-promise { border-top: 0; padding-top: 24px; }

.paf-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.paf-step { border-top: 3px solid var(--paf-gold); padding-top: 16px; }
.paf-step__title {
  margin: 0 0 .35em; color: var(--paf-gold);
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1.6rem; line-height: 1.1;
}
.paf-video { margin: 44px 0 0; }
.paf-video video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }

/* Photo band: the only gradient on the page — a mask fading the photo into
   the ground at the top and bottom, so the caption sits on near-black. */
.paf-band { margin: 0; position: relative; background: var(--paf-bg); }
.paf-band img {
  width: 100%; height: clamp(230px, 31vw, 440px); object-fit: cover; object-position: 18% 45%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 70%, transparent 100%);
}
/* Below the photo on phones (it wraps to two lines there); over its faded
   bottom edge from 640px up. */
.paf-band__cap {
  position: static; margin-top: -4px; padding: 0 20px; text-align: center;
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: clamp(.8rem, 1.9vw, 1.05rem); line-height: 1.6;
}
.paf-dot { margin: 0 .5em; }

.paf-paths { display: grid; gap: 20px; }
.paf-card { border: 1px solid #333; border-top: 3px solid var(--paf-gold); border-radius: 4px; padding: 28px 22px; }
.paf-card__title {
  margin: 0 0 .8em; font-family: var(--paf-display); font-weight: 400; text-transform: uppercase;
  line-height: 1.04; font-size: clamp(1.8rem, 4.6vw, 2.5rem);
}
.paf-numbered { list-style: decimal; margin: 0; padding-left: 1.4em; color: var(--paf-body); display: grid; gap: .7em; }
.paf-numbered li::marker { color: var(--paf-gold); font-family: var(--paf-cond); font-weight: 700; }
.paf-numbered strong { color: var(--paf-fg); font-weight: 600; }
.paf-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; color: var(--paf-body); }
.paf-ticks li { position: relative; padding-left: 1.3em; }
.paf-ticks li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: .6em; height: 3px; background: var(--paf-orange);
}

.paf-details { margin: 0; display: grid; gap: 26px; }
.paf-details > div { border-top: 3px solid var(--paf-gold); padding-top: 14px; }
.paf-details dd { margin: 0; font-size: 1.1rem; }

.paf-faq { border-top: 1px solid #333; margin-bottom: 20px; }
.paf-faq__item { border-bottom: 1px solid #333; }
.paf-faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 56px; padding: 16px 44px 16px 0; display: flex; align-items: center;
  font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.2rem; line-height: 1.2;
}
.paf-faq__item summary::-webkit-details-marker { display: none; }
.paf-faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--paf-display); font-size: 1.8rem; color: var(--paf-orange);
}
.paf-faq__item[open] summary::after { content: "\2013"; }
.paf-faq__item .paf-body { padding: 0 0 20px; }

.paf-hosts { display: grid; gap: 24px; }
.paf-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.paf-contact li { display: flex; flex-direction: column; }
.paf-contact .paf-label { margin: 0; }
.paf-contact .paf-link { overflow-wrap: anywhere; }

.paf-close__grid { display: grid; gap: 40px; align-items: center; }
.paf-qr {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--paf-fg); justify-self: center; width: min(100%, 300px);
}
.paf-qr__box { display: block; background: #fff; border-radius: 14px; padding: 18px; width: 100%; }
.paf-qr__box img { width: 100%; height: auto; }
.paf-qr__title {
  margin-top: 14px; font-family: var(--paf-display); text-transform: uppercase; font-size: 2rem; line-height: 1.04;
}
.paf-qr__sub {
  color: var(--paf-gold); font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .95rem;
}
.paf-conduct { padding: 48px 0 64px; }

/* Password screen */
.paf-lock { padding: 96px 0; min-height: 70vh; }
.paf-lock__title { font-family: var(--paf-display); font-weight: 400; text-transform: uppercase; font-size: 3rem; line-height: 1.04; margin: 32px 0 12px; }
.paf-lock form { margin-top: 24px; max-width: 420px; }
.paf-lock form p { margin: 0 0 12px; color: var(--paf-body); }
.paf-lock label { display: flex; flex-direction: column; gap: 8px; font-family: var(--paf-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.paf-lock input[type="password"] {
  min-height: 52px; padding: 10px 14px; border: 2px solid #fff; border-radius: 4px;
  background: #111; color: #fff; font-size: 18px; width: 100%;
}
.paf-lock input[type="submit"] {
  margin-top: 12px; min-height: 52px; padding: 10px 28px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--paf-orange); color: #000; font-family: var(--paf-cond); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: 1.1rem;
}

/* ── Wider screens ─────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .paf-wrap { padding: 0 32px; }
  .paf-actions { flex-direction: row; flex-wrap: wrap; }
  .paf-btn { min-width: 260px; }
  .paf-details { grid-template-columns: repeat(2, 1fr); }
  .paf-venue-flag { align-items: flex-end; text-align: right; }
  .paf-band img { object-position: 50% 45%; }
  .paf-band__cap { position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; }
}
@media (min-width: 900px) {
  .paf-hero { padding: 72px 0 80px; }
  .paf .paf-logo { width: 190px; }
  .paf-hero__main { flex-direction: row; align-items: center; gap: 0; }
  .paf-hero__mark { flex: 0 0 auto; padding-right: 48px; }
  .paf-hero__mark img { width: clamp(340px, 38vw, 480px); }
  .paf-hero__date { border-top: 0; border-left: 4px solid var(--paf-orange); padding: 8px 0 8px 48px; }
  .paf-steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .paf-paths { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .paf-card { padding: 36px 34px; }
  .paf-details { grid-template-columns: repeat(4, 1fr); }
  .paf-hosts { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
  .paf-close__grid { grid-template-columns: 1fr 300px; gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .paf-btn { transition: none; }
}
