/* ============================================================
   Queer Dudes Party — queerdudesparty.com
   Brand: red #ff3131 + blue #1800ad on near-black.
   Primary display: Horizon (self-hosted). Secondary: Anton.
   Body: Inter.
   ============================================================ */

@font-face {
  font-family: "Horizon";
  src: url("fonts/horizon.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Outlined cut of Horizon — available as an accent if wanted */
@font-face {
  font-family: "Horizon Outlined";
  src: url("fonts/Horizon_Outlined.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0a0c;
  --bg-raised: #141216;
  --bg-card: #18151b;
  --line: #2b2630;
  --red: #ff3131;
  --red-hot: #ff5a5a;
  --red-glow: rgba(255, 49, 49, 0.35);
  --blue: #1800ad;
  --blue-glow: rgba(24, 0, 173, 0.5);
  --text: #e8e4e6;
  --text-dim: #a39ba3;
  --todo: #e0a800;
  --display-primary: "Horizon", "Anton", "Arial Narrow", Impact, sans-serif;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  /* faint vertical spotlight down the page */
  background-image: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(193, 18, 31, 0.08), transparent 70%);
  background-repeat: no-repeat;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ================= AGE GATE ================= */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  /* fully opaque — nothing behind it can show through */
  background: var(--bg);
  background-image: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(193, 18, 31, 0.08), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* while the gate is up: lock scrolling and hide the site itself
   (belt and suspenders on top of the opaque overlay) */
body:has(.age-gate) { overflow: hidden; }
body:has(.age-gate) > :not(.age-gate) { visibility: hidden; }

.age-gate-box {
  max-width: 30rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  padding: 2.5rem 2rem;
}

.age-gate-kicker {
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 0.07em var(--blue);
  paint-order: stroke fill;
  text-shadow: 0 0 18px var(--blue-glow);
  margin-bottom: 0.75rem;
}

.age-gate h2 {
  font-family: var(--display-primary);
  font-size: 2.4rem;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 0.09em var(--red);
  paint-order: stroke fill;
  text-shadow: 0 0 40px var(--red-glow);
  margin-bottom: 1rem;
}

.age-gate-box p:not(.age-gate-kicker) { color: var(--text-dim); }

.age-gate-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

button.btn {
  font-family: var(--body);
  cursor: pointer;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(11, 10, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display-primary);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #fff;
  -webkit-text-stroke: 0.09em var(--red);
  paint-order: stroke fill;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-header nav a:hover { color: var(--red-hot); }

/* ================= HERO ================= */

.hero {
  padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 8vh, 6rem);
  /* mirror-selfie shot from the ads, faded left so the type stays loud */
  background-image:
    linear-gradient(90deg, var(--bg) 0%, rgba(11, 10, 12, 0.88) 40%, rgba(11, 10, 12, 0.35) 75%, rgba(11, 10, 12, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 10, 12, 0) 18%),
    url("art/dude-2.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 68rem;
  margin: 0 auto;
}

/* "R U Looking?" — white with blue outline, like the posters */
.hero-kicker {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.5vw, 2.4rem);
  color: #fff;
  -webkit-text-stroke: 0.09em var(--blue);
  paint-order: stroke fill;
  text-shadow: 0 0 24px var(--blue-glow);
  margin-bottom: 1.75rem;
}

/* Title — Horizon, white fill with thick #ff3131 outline */
.hero h1 {
  font-family: var(--display-primary);
  font-size: clamp(3rem, 12vw, 8.5rem);
  line-height: 1.04;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 0.1em var(--red);
  paint-order: stroke fill;
  text-shadow: 0 0 60px var(--red-glow);
}

.hero-tag {
  margin-top: 2rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #fff;
  -webkit-text-stroke: 0.07em var(--blue);
  paint-order: stroke fill;
  text-shadow: 0 0 18px var(--blue-glow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-sub {
  margin-top: 0.75rem;
  max-width: 34rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* Poster info lines: 3rd Wednesday / half-priced rail / etc. */
.hero-stats {
  margin-top: 2.25rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-stats li {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  -webkit-text-stroke: 0.07em var(--blue);
  paint-order: stroke fill;
  text-shadow: 0 0 18px var(--blue-glow);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--red);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-hot);
  box-shadow: 0 0 24px var(--red-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--blue);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(24, 0, 173, 0.25);
  box-shadow: 0 0 24px var(--blue-glow);
}

/* ================= SECTIONS ================= */

.section {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
  color: #fff;
  -webkit-text-stroke: 0.06em var(--blue);
  paint-order: stroke fill;
  text-shadow: 0 0 30px var(--blue-glow);
}

.section h2 span {
  color: #fff;
  -webkit-text-stroke: 0.06em var(--red);
  text-shadow: 0 0 30px var(--red-glow);
  margin-right: 0.5rem;
}

.section-lede {
  color: var(--text-dim);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-note {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.prose { max-width: 44rem; }
.prose p + p { margin-top: 1rem; }

/* ================= EVENT CARD ================= */

.event-card {
  display: flex;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 1rem 0.75rem;
  align-self: flex-start;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-hot);
}

.event-day {
  font-family: var(--display);
  font-size: 2.75rem;
  line-height: 1.1;
}

.event-info h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.event-meta {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.event-info > p { max-width: 34rem; }

.event-photo {
  width: clamp(9rem, 22vw, 14rem);
  align-self: stretch;
  object-fit: cover;
  object-position: 25% center; /* keep the pup in frame when cropped */
  margin-left: auto;
  opacity: 0.65;
  /* fade the left edge into the card so the photo sits in the dark */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

.event-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .event-card { flex-direction: column; }
  .event-photo { width: 100%; height: 15rem; margin-left: 0; }
}

/* Upcoming dates strip */

.upcoming { margin-top: 2rem; }

.upcoming h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.dates-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dates-list li {
  font-family: var(--display);
  font-size: 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.dates-list li:hover {
  border-color: var(--red);
  box-shadow: 0 0 18px var(--red-glow);
}

.dates-list a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
}

.dates-list li span {
  color: var(--red-hot);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-right: 0.35rem;
}

/* ================= POLICY GRID ================= */

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.policy-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--red-hot);
  margin-bottom: 0.6rem;
}

.policy-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ================= MEMBERSHIP STEPS ================= */

.steps {
  list-style: none;
  counter-reset: step;
  max-width: 44rem;
  margin-top: 1.5rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 4rem;
  border-left: 1px solid var(--line);
  margin-left: 1.4rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -1.45rem;
  top: -0.2rem;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--red);
  color: var(--red-hot);
  font-family: var(--display);
  font-size: 1.3rem;
}

.steps h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.steps p { color: var(--text-dim); font-size: 0.97rem; }

/* ================= SOCIAL GRID ================= */

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.social-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 24px var(--red-glow);
}

.social-name {
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text);
}

.social-handle {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ================= FOOTER ================= */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1rem, 4vw, 3rem) 3.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-bottom: 1.75rem;
}

.partners span,
.partners a {
  font-family: var(--display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}
.partners a:hover { color: var(--red-hot); }

.site-footer p + p { margin-top: 0.4rem; }

/* ================= TODO MARKERS =================
   Anything with .todo-mark is placeholder content.
   Delete the class (and the bracketed text) once the
   real content is in — the amber outline disappears. */

.todo-mark {
  outline: 1px dashed var(--todo);
  outline-offset: 3px;
  color: var(--todo);
}
