/* Second Sunday Cards — styled after the Oct 2026 TV ad:
   dark binder photo, white hand-lettered type, iridescent OutAfter-style accents, teal 9:30 highlights. */

@font-face { font-family: "Permanent Marker"; src: url(fonts/permanent-marker.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 400; src: url(fonts/barlow-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url(fonts/barlow-600.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 800; src: url(fonts/barlow-800.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #101115;
  --panel: rgba(16, 17, 21, .72);
  --line: rgba(255, 255, 255, .14);
  --text: #f4f5f7;
  --muted: #b9bec8;
  --teal: #5ec8d4;
  --orange: #d9772b;
  --holo: linear-gradient(100deg, #3fc6e6 0%, #6d82f2 30%, #9a6fe2 48%, #e98fd0 58%, #7b8cf3 70%, #46cbe4 100%);
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-text: 0 2px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .65);
  --radius: 14px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--sans);
  position: relative;
}
/* Fixed backdrop on a pseudo-element: background-attachment: fixed is ignored on iOS. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 17, 21, .3) 0%, rgba(16, 17, 21, .62) 50%, rgba(16, 17, 21, .9) 100%),
    url(img/backdrop.jpg) center / cover no-repeat;
}

a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.marker { font-family: var(--marker); font-weight: 400; letter-spacing: .01em; text-shadow: var(--shadow-text); }

.draft-banner {
  background: repeating-linear-gradient(45deg, #b4541a 0 14px, #9c4613 14px 28px);
  color: #fff; text-align: center; font: 600 .85rem/1.3 var(--sans); padding: .5rem 1rem;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem;
  padding: .6rem var(--pad);
  background: rgba(16, 17, 21, .82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__mark { font-family: var(--marker); font-size: 1.15rem; color: #fff; text-decoration: none; white-space: nowrap; }
.topbar__mark span { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topbar__nav { display: flex; gap: .25rem; margin-inline: -.5rem; }
.topbar__nav a {
  font-family: var(--marker); font-size: .95rem; color: var(--muted); text-decoration: none;
  padding: .45rem .5rem; border-radius: 8px; white-space: nowrap;
}
.topbar__nav a:hover { color: #fff; }
.topbar__nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }

/* ---------- hero (home) ---------- */
.hero {
  min-height: calc(100svh - 3.5rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2.5rem var(--pad) 3rem;
}
.hero p { margin: 0; }
.hero__presenters {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--marker); font-size: 1.05rem; color: var(--muted); text-shadow: var(--shadow-text);
}
.hero__e4 { width: 3.4rem; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.hero__oa { width: 9.5rem; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.hero__present { font-size: .95rem; }

.wordmark {
  position: relative;
  margin: 1.2rem 0 1.4rem;
  font-family: var(--marker); font-weight: 400;
  line-height: .95;
  transform: rotate(-3deg);
}
.wordmark__line {
  display: block;
  font-size: clamp(3rem, 15vw, 8.5rem);
  background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(0, 0, 0, .55));
  padding: 0 .08em;
}
.wordmark__line--cards { font-size: clamp(3.6rem, 19vw, 10.5rem); }
.wordmark__swash { display: block; width: 92%; height: clamp(.9rem, 3vw, 1.6rem); margin: -.2rem auto 0; fill: var(--teal); opacity: .9; }

.hero__tagline { font-size: clamp(1.7rem, 6.5vw, 3.3rem); line-height: 1.1; }
.hero__when { font-size: clamp(1.25rem, 4.6vw, 2.3rem); line-height: 1.2; margin-top: .4rem !important; }
.hero__hours { font-size: clamp(1.25rem, 4.6vw, 2.3rem); line-height: 1.2; }
.hero__free { font-size: clamp(1.25rem, 4.6vw, 2.3rem); color: var(--teal); margin-top: .2rem !important; }
.hero__where { margin-top: 1.4rem; }
.hero__where .marker { font-size: clamp(1.2rem, 4.4vw, 2rem); }
.hero__where p:last-child { color: var(--muted); font-weight: 600; text-shadow: var(--shadow-text); }

.next-show {
  margin-top: 1.4rem !important;
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  font-weight: 600;
}
.next-show strong { font-family: var(--marker); font-weight: 400; color: #fff; margin-left: .25rem; }

.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.6rem; }

.btn {
  display: inline-block;
  font-family: var(--marker); font-size: 1.1rem; color: #fff; text-decoration: none;
  padding: .7rem 1.4rem; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .7);
  background: rgba(16, 17, 21, .5);
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--holo { border: 0; background: var(--holo); color: var(--ink); padding: calc(.7rem + 2px) calc(1.4rem + 2px); }
.btn--holo:hover { background: #fff; }
.btn--small { font-size: .95rem; padding: .45rem 1rem; }

/* ---------- sections ---------- */
.section, .page-hero { max-width: 72rem; margin: 0 auto; padding: 2.5rem var(--pad); }
.section__title, .page-hero__title {
  font-family: var(--marker); font-weight: 400; text-shadow: var(--shadow-text);
  font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.05; margin: 0 0 .5rem;
}
.page-hero { padding-top: 3rem; text-align: center; }
.page-hero__title {
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .55));
  transform: rotate(-2deg);
}
.page-hero .lead { margin-inline: auto; }
.section__sub { color: var(--muted); font-weight: 600; margin: 0 0 1.4rem; }
.lead { font-size: clamp(1.1rem, 3.4vw, 1.3rem); max-width: 42rem; margin: .5rem 0 0; }

.badge {
  display: inline-block; font: 800 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .55rem; border-radius: 6px; background: rgba(255, 255, 255, .12); color: var(--muted);
}
.badge--host { background: var(--teal); color: var(--ink); }
.badge--draft { background: #b4541a; color: #fff; }
.is-draft { outline: 2px dashed rgba(217, 119, 43, .8); outline-offset: -2px; }

/* about features */
.features { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.feature__title { font-family: var(--marker); font-weight: 400; font-size: 1.45rem; margin: 0 0 .35rem; color: var(--teal); }
.feature p { margin: 0; color: var(--text); }

/* dates */
.date-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.date-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: .9rem .4rem .8rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.date-tile__month { font-family: var(--marker); font-size: 1.15rem; color: var(--teal); line-height: 1; }
.date-tile__day { font-family: var(--marker); font-size: 2.6rem; line-height: 1.05; text-shadow: var(--shadow-text); }
.date-tile__dow { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.date-tile .badge { margin-top: .35rem; }
.date-tile.is-past { opacity: .5; }
.date-tile.is-next { border: 0; background: var(--holo); color: var(--ink); padding: calc(.9rem + 1px) calc(.4rem + 1px) calc(.8rem + 1px); }
.date-tile.is-next .date-tile__month, .date-tile.is-next .date-tile__dow { color: var(--ink); }
.date-tile.is-next .date-tile__day { text-shadow: none; }
.date-tile.is-next::after {
  content: "Next"; position: absolute; top: -.55rem; right: -.35rem;
  font: 800 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: .3rem .45rem; border-radius: 6px; transform: rotate(6deg);
}

/* origin */
.origin__figure { margin: 0; }
.origin__figure img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.origin__figure figcaption { margin-top: .7rem; color: var(--muted); font-weight: 600; text-align: center; }

/* vendors */
.vendor-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.vendor {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.vendor__monogram, .vendor__logo { flex: none; width: 3.6rem; height: 3.6rem; border-radius: 12px; }
.vendor__logo { object-fit: contain; background: #fff; }
.vendor__monogram {
  display: grid; place-items: center;
  font-family: var(--marker); font-size: 2rem; color: var(--ink);
  background: var(--holo);
}
.vendor__body { min-width: 0; }
.vendor__name { font-family: var(--marker); font-weight: 400; font-size: 1.35rem; line-height: 1.15; margin: 0; }
.vendor__person { margin: .1rem 0 0; color: var(--muted); font-weight: 600; }
.vendor__carries { margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.tag { font-size: .8rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.vendor__links { margin: .35rem 0 0; display: flex; gap: .8rem; font-weight: 600; }
.vendor .badge { position: absolute; top: .6rem; right: .6rem; }
.vendor--host { border-color: rgba(94, 200, 212, .55); }

.cta { text-align: center; }
.cta p { max-width: 36rem; margin: .5rem auto 0; }

/* other shows calendar */
.cal__month { font-size: 1.4rem; color: var(--teal); margin: 1.6rem 0 .6rem; }
.cal { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.cal__row {
  display: flex; align-items: center; gap: .9rem;
  padding: .7rem .9rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.cal__row--ours { border-color: rgba(94, 200, 212, .6); background: linear-gradient(90deg, rgba(94, 200, 212, .16), var(--panel) 60%); }
.cal__row.is-past { opacity: .5; }
.cal__date { flex: none; width: 3.4rem; text-align: center; line-height: 1; }
.cal__dow { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cal__day { display: block; font-family: var(--marker); font-size: 1.7rem; margin-top: .15rem; }
.cal__what { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cal__what strong { font-weight: 800; }
.cal__what > span { color: var(--muted); font-size: .95rem; }
.cal__badges { display: flex; gap: .35rem; margin-top: .35rem; }

.runner-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .9rem; }
.runner { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.runner__name { font-family: var(--marker); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 0; }
.runner__who { margin: .2rem 0 0; color: var(--teal); font-weight: 600; }
.runner__where { margin: .5rem 0 0; color: var(--muted); }
.runner__dates { margin: .5rem 0 .9rem; font-weight: 600; }

.empty { text-align: center; }

/* ---------- footer ---------- */
.footer {
  margin-top: 2rem; padding: 2.5rem var(--pad) 3rem;
  display: grid; gap: 1.4rem; justify-items: center; text-align: center;
  background: rgba(10, 11, 14, .9); border-top: 1px solid var(--line);
}
.footer__presenters .marker { color: var(--muted); font-size: 1rem; }
.presenters { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .6rem; }
.presenters__x { font-family: var(--marker); font-size: 1.6rem; color: var(--muted); }
.presenters__logo--1 { width: 4.5rem; }
.presenters__logo--2 { width: 12rem; }
.footer__venue { font-style: normal; color: var(--muted); }
.footer__venue strong { color: var(--text); }
.footer__contact { margin: 0; }
.footer__fine { margin: 0; color: var(--muted); font-size: .85rem; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .date-grid { grid-template-columns: repeat(4, 1fr); }
  .vendor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .topbar__mark { font-size: 1.35rem; }
  .topbar__nav a { font-size: 1.05rem; padding-inline: .8rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .date-grid { grid-template-columns: repeat(6, 1fr); }
  .vendor-grid { grid-template-columns: repeat(3, 1fr); }
  .runner-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__e4 { width: 4.5rem; }
  .hero__oa { width: 13rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.date-tile--empty { grid-column: 1 / -1; color: var(--muted); font-weight: 600; }
.dates__cal { text-align: center; margin: 1.4rem 0 0; }
