/* Home page — hero, countdown, quick links, CTA band */

/* ============ HERO — hometown festival banner ============ */
.home-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(244,201,72,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(65,182,230,.12) 0%, transparent 55%),
    linear-gradient(180deg, #c41a20 0%, #a51319 100%);
  color: #fff;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
}
.home-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1px at 10% 15%, rgba(255,255,255,.15) 50%, transparent 52%),
    radial-gradient(circle 1.5px at 85% 25%, rgba(255,255,255,.12) 50%, transparent 52%),
    radial-gradient(circle 1px at 30% 60%, rgba(255,255,255,.1) 50%, transparent 52%),
    radial-gradient(circle 1px at 70% 85%, rgba(255,255,255,.13) 50%, transparent 52%);
  background-size: 180px 180px, 240px 240px, 200px 200px, 160px 160px;
  opacity: .7; pointer-events: none;
}
[data-dir="editorial"] .home-hero {
  background: #FAF8F3; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
[data-dir="editorial"] .home-hero::before { display: none; }

.home-hero-bunting { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }
.home-hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .35; }

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 30px;
}
@media (max-width: 900px) { .home-hero-inner { grid-template-columns: 1fr; gap: 48px; } }

/* Big festive datestamp chip at top of hero */
.home-hero-datestamp {
  display: inline-flex; align-items: stretch;
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,.35);
  margin-bottom: 28px;
  font-family: var(--font-display);
}
[data-dir="editorial"] .home-hero-datestamp { box-shadow: 4px 4px 0 var(--red); }
.home-hero-datestamp-yr {
  background: var(--ink); color: var(--gold);
  font-size: 38px; line-height: 1;
  padding: 12px 16px;
  display: flex; align-items: center;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.home-hero-datestamp-stack {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6px 12px;
  border-right: 2px solid var(--ink);
}
.home-hero-datestamp-53 {
  font-size: 26px; font-weight: 700; line-height: 1; color: var(--red);
}
.home-hero-datestamp-53 sup { font-size: 14px; vertical-align: super; }
.home-hero-datestamp-annual {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mid); font-weight: 600;
}
.home-hero-datestamp-dates {
  padding: 0 18px;
  display: flex; align-items: center;
  font-size: 22px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* The Big Title — cutout white type */
.home-hero-title {
  font-size: clamp(64px, 10vw, 148px);
  line-height: .84;
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
}
.home-hero-title-top {
  font-size: 0.5em; color: var(--gold);
  letter-spacing: .02em; font-weight: 700;
  -webkit-text-stroke: 0;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  margin-bottom: 4px;
}
.home-hero-title-bottom {
  color: #fff; font-weight: 700;
}
[data-dir="editorial"] .home-hero-title { color: var(--ink); text-shadow: none; font-size: clamp(56px, 8vw, 112px); }
[data-dir="editorial"] .home-hero-title-top { color: var(--red); text-shadow: none; }
[data-dir="editorial"] .home-hero-title-bottom { color: var(--ink); }

.home-hero-tagstrip {
  display: flex; flex-wrap: wrap; gap: 8px 4px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; letter-spacing: .02em;
  color: var(--cream);
  margin-bottom: 22px;
  align-items: center;
  max-width: 520px;
}
.home-hero-tagstrip span { padding: 2px 4px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.home-hero-tagstrip .sep { color: var(--gold); font-weight: 700; opacity: .7; }
[data-dir="editorial"] .home-hero-tagstrip { color: var(--ink-mid); }
[data-dir="editorial"] .home-hero-tagstrip .sep { color: var(--red); }

.home-hero-sub {
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-width: 500px;
  margin-bottom: 28px;
}
[data-dir="editorial"] .home-hero-sub { color: var(--ink-mid); }

.home-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

/* Ghost-light button for use on the red hero */
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
[data-dir="editorial"] .btn-ghost-light {
  color: var(--ink); border-color: var(--ink);
}
[data-dir="editorial"] .btn-ghost-light:hover { background: var(--ink); color: #fff; }

/* Aside — scrapbook photo stack */
.home-hero-aside {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.home-hero-photos {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: block;
}
.hero-photo {
  position: absolute;
  background: var(--cream);
  padding: 10px 10px 28px;
  box-shadow: 0 12px 28px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.2);
  border-radius: 2px;
}
.hero-photo .img-ph { margin: 0; }
.hero-photo-cap {
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: 16px; color: var(--ink-mid);
  text-align: center; margin-top: 6px;
  line-height: 1;
}
.hero-photo-1 {
  top: 0; left: 4%;
  width: 46%;
  transform: rotate(-5deg);
  z-index: 2;
}
.hero-photo-2 {
  top: 30%; right: 0;
  width: 54%;
  transform: rotate(4deg);
  z-index: 3;
}
.hero-photo-3 {
  bottom: 0; left: 18%;
  width: 40%;
  transform: rotate(-2deg);
  z-index: 1;
}
@media (max-width: 900px) { .home-hero-photos { min-height: 380px; } }

.hero-countdown-pill {
  position: absolute;
  top: -8px; right: 8px;
  background: var(--gold);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  width: 118px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,.3);
  z-index: 5;
  text-align: center;
}
.hero-countdown-num {
  font-size: 54px; line-height: 1; font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
}
.hero-countdown-lbl {
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700;
  margin-top: 2px; line-height: 1.15;
}

/* Ticker/marquee at hero bottom */
.home-hero-marquee {
  margin-top: 60px;
  background: var(--ink);
  color: var(--gold);
  overflow: hidden;
  border-top: 2px solid var(--ink);
  position: relative; z-index: 4;
}
.home-hero-marquee-track {
  display: flex; gap: 40px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marq 42s linear infinite;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
}
.home-hero-marquee-track span { flex-shrink: 0; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ WHAT IS ============ */
.home-intro {
  max-width: 820px;
  margin-bottom: 48px;
}
.home-highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 40px;
}
@media (max-width: 700px) { .home-highlights { grid-template-columns: repeat(2, 1fr); } }
.home-highlight {
  padding: 24px;
  border-top: 3px solid var(--red);
}
.home-highlight-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 56px; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.home-highlight-label {
  font-size: 14px; color: var(--ink-mid); line-height: 1.4;
}

/* ============ WEEKEND ============ */
.home-weekend {
  background: var(--royal);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
[data-dir="editorial"] .home-weekend { background: var(--ink); }
.home-weekend::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 2px at 15% 20%, rgba(65,182,230,.4) 50%, transparent 52%),
    radial-gradient(circle 1.5px at 85% 30%, rgba(65,182,230,.3) 50%, transparent 52%),
    radial-gradient(circle 2px at 25% 80%, rgba(65,182,230,.4) 50%, transparent 52%),
    radial-gradient(circle 1.5px at 75% 75%, rgba(65,182,230,.3) 50%, transparent 52%);
  background-size: 200px 200px, 300px 300px, 250px 250px, 180px 180px;
  pointer-events: none;
}
.home-weekend-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; position: relative; flex-wrap: wrap; gap: 16px;
}
.home-weekend-head .eyebrow { color: var(--sky); }
.home-weekend-head .section-title { color: #fff; margin-bottom: 0; }
.home-weekend-head .btn-ghost { color: #fff; }
.home-weekend-head .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.home-weekend-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative;
}
@media (max-width: 900px) { .home-weekend-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .home-weekend-grid { grid-template-columns: 1fr; } }

.home-day-card {
  background: var(--white);
  padding: 20px 20px 16px;
  cursor: pointer;
  color: var(--ink);
}
.home-day-card:hover { text-decoration: none; }
.home-day-card-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.home-day-abbrev {
  font-size: 32px; font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}
.home-day-date { font-size: 13px; color: var(--ink-light); font-weight: 600; }
.home-day-label {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 13px; letter-spacing: .04em; font-weight: 700;
  color: var(--ink);
}
.home-day-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.home-day-list li { display: flex; gap: 10px; align-items: baseline; }
.home-day-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red-deep);
  font-weight: 600;
  min-width: 52px;
}
.home-day-event { color: var(--ink-mid); line-height: 1.4; }
.home-day-more {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 12px; font-weight: 700;
  color: var(--red-deep); text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============ CTA BAND ============ */
.home-cta-band {
  background: var(--red);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.home-cta-inner {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
  align-items: center; position: relative;
}
@media (max-width: 800px) { .home-cta-inner { grid-template-columns: 1fr; gap: 28px; } }
.home-cta-eyebrow {
  font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 14px;
}
.home-cta-title {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1;
  margin-bottom: 16px;
}
.home-cta-body {
  font-size: 17px; line-height: 1.5;
  color: rgba(255,255,255,.9);
  max-width: 520px;
}
.home-cta-actions {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.home-cta-secondary {
  color: rgba(255,255,255,.9);
  font-size: 13px; letter-spacing: .02em; text-transform: none;
  padding: 6px 0;
}
.home-cta-secondary:hover { background: none; color: #fff; text-decoration: underline; }

/* ============ QUICK LINKS ============ */
.home-quick {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 800px) { .home-quick { grid-template-columns: 1fr; } }
.home-quick-card { cursor: pointer; position: relative; padding: 28px 28px 32px; }
.home-quick-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.home-quick-arrow {
  position: absolute; bottom: 20px; right: 24px;
  font-size: 20px; color: var(--red);
  font-weight: 700;
}

/* ============ HOUSE RULES ============ */
.home-rules {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .home-rules { grid-template-columns: 1fr; gap: 32px; } }
.home-rules-icons {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
@media (max-width: 520px) { .home-rules-icons { grid-template-columns: repeat(2, 1fr); } }
.home-rule-chip {
  background: var(--white);
  border: 1.5px solid var(--rule-dk);
  padding: 16px 12px;
  border-radius: 6px;
  text-align: center;
  position: relative;
}
.home-rule-chip::after {
  content: ""; position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 2px solid var(--red);
  border-radius: 50%; opacity: .25; pointer-events: none;
  background: linear-gradient(135deg, transparent 48%, var(--red) 48%, var(--red) 52%, transparent 52%);
  background-size: 100% 100%;
  width: 40px; height: 40px; margin: 0 auto;
  left: 50%; transform: translateX(-50%); top: 16px;
}
.home-rule-chip-icon { font-size: 28px; margin-bottom: 8px; filter: grayscale(.3); }
.home-rule-chip-label {
  font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .04em;
  color: var(--ink-mid); text-transform: uppercase;
}


/* ============ WHERE THE MONEY GOES ============ */
.home-benefits { display: grid; grid-template-columns: 1fr 1.8fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .home-benefits { grid-template-columns: 1fr; gap: 32px; } }
.home-benefits-head .eyebrow { color: var(--red); }
.home-benefits-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; margin: 8px 0 14px; color: var(--ink); }
.home-benefits-sub { font-size: 15px; color: var(--ink-mid); line-height: 1.55; max-width: 420px; }
.home-benefits-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .home-benefits-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; } }
@media (max-width: 600px) { .home-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.home-benefit {
  background: #fff; border: 1px solid var(--rule-dk);
  padding: 22px 14px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.home-benefit:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.home-benefit-glyph {
  font-size: 26px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-pale); color: var(--red-deep);
  margin-bottom: 4px;
}
.home-benefit-name { font-family: var(--font-display); font-size: 18px; color: var(--ink); letter-spacing: .01em; }
.home-benefit-desc { font-size: 12px; color: var(--ink-mid); line-height: 1.35; }
[data-dir="editorial"] .home-benefit-glyph { background: #f1efe9; color: var(--ink); }

/* ============ FEATURED QUICK-LINK BADGE ============ */
.home-quick-featured { position: relative; border: 2px solid var(--red); background: linear-gradient(180deg, #fff 60%, var(--red-pale) 200%); }
.home-quick-featured:hover { border-color: var(--red-deep); }
.home-quick-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.home-quick-badge-live { background: var(--red); }
[data-dir="editorial"] .home-quick-featured { border-color: var(--ink); background: #fff; }
