/* =========================================================
   Hope and Light Holiday Celebration
   Visual design system: Classic Traditional Color Palette B
   ========================================================= */

:root {
  /* Primary Festive — Holly Berry Red */
  --red: #C41E3A;
  --red-hover: #A61931;
  --red-active: #8B1529;

  /* Secondary Base — Hunter Pine Green */
  --green: #165B33;
  --green-hover: #124B2A;
  --green-active: #0E3B21;

  /* Metallic Highlight — Bright Warm Gold */
  --gold: #F8B229;
  --gold-hover: #E09F1F;
  --gold-active: #C98D16;

  /* Canvas & neutrals */
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --border: #E5E7EB;
  --text: #1F2937;
  --text-muted: #4B5563;

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Alex Brush', 'Pinyon Script', cursive;

  /* Elevation */
  --glow-gold: 0 4px 20px -2px rgba(248, 178, 41, 0.35);
  --shadow-pine: 0 10px 30px -5px rgba(22, 91, 51, 0.18);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 16px -2px rgba(0, 0, 0, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;

  /* Texture */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --warm-glow: radial-gradient(circle at 50% 0%, rgba(248, 178, 41, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  --gold-rule: linear-gradient(90deg, rgba(248, 178, 41, 0), rgba(248, 178, 41, 0.6), rgba(248, 178, 41, 0));

  /* Layout */
  --max: 1160px;
  --gutter: 24px;
  --section-pad: 96px;
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 36px; height: 36px; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--green);
}
h2 { font-size: clamp(34px, 4.6vw, 52px); }
h3 { font-size: 22px; font-weight: 600; line-height: 1.2; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }

/* Micro-accent script: 1–3 word taglines directly above headings only */
.script {
  font-family: var(--font-script);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
  color: var(--red);
  margin-bottom: 6px;
}

.lede { font-size: 19px; color: var(--text-muted); max-width: 56ch; margin-top: 16px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.head-meta { margin-top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.02em; color: var(--green); text-decoration: none; white-space: nowrap;
}
.logo-star { width: 22px; height: 22px; color: var(--gold); fill: var(--gold); stroke: var(--gold-hover); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-weight: 500; font-size: 15px; text-decoration: none; color: var(--text);
  padding: 8px 14px; border-radius: 9999px;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav a:hover { background: var(--off-white); color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center;
  padding: 14px 28px; border-radius: 9999px; border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hover); box-shadow: var(--glow-gold); }
.btn-primary:active { background: var(--red-active); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-secondary:hover { background: var(--green-hover); box-shadow: var(--shadow-pine); }
.btn-secondary:active { background: var(--green-active); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: rgba(22, 91, 51, 0.06); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn:focus-visible, .nav a:focus-visible, .schedule-card:focus-visible, .footer-link:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; box-shadow: var(--glow-gold);
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; line-height: 1;
  padding: 7px 12px; border-radius: 9999px; white-space: nowrap;
}
.pill-date { background: var(--green); color: var(--gold); border: 1px solid rgba(248, 178, 41, 0.3); }
.pill-urgent { background: var(--red); color: var(--white); font-weight: 700; }
.pill-gold { background: var(--gold); color: var(--green-active); font-weight: 700; }

/* ---------- Surfaces ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* 3% monochrome film grain on container surfaces */
.card::after, .hero::after, .section-pine::after, .site-footer::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background-image: var(--grain); opacity: 0.03; pointer-events: none;
}
.card-featured { border-color: rgba(248, 178, 41, 0.55); box-shadow: var(--shadow-pine); }

.section { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.glow { background: var(--warm-glow), var(--white); }
.section-soft { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.divider {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 16px; color: var(--gold);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--gold-rule); }
.divider .icon { width: 18px; height: 18px; fill: var(--gold); stroke: none; }

/* Evergreen silhouettes at low opacity */
.pine { position: absolute; pointer-events: none; user-select: none; width: 520px; opacity: 0.08; }
.pine-left { left: -120px; bottom: -40px; }
.pine-right { right: -120px; top: -30px; transform: scale(-1, -1); }
.pine-soft { right: -140px; top: 40px; transform: scaleX(-1); opacity: 0.06; }

/* Shimmer: 45° white sweep, repeating every 4s */
.shimmer { overflow: hidden; }
.shimmer::before {
  content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(45deg);
  animation: shimmer 4s var(--ease) infinite;
  pointer-events: none; z-index: 1;
}
@keyframes shimmer {
  0% { left: -60%; }
  35%, 100% { left: 130%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(248, 178, 41, 0.16) 0%, rgba(22, 91, 51, 0) 60%),
    var(--green-active);
  color: var(--white);
  padding: 112px 0 104px;
  text-align: center;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .pine { opacity: 0.07; z-index: 0; }
.hero-inner { z-index: 2; }
.presenter {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.82);
}
.hero-script { color: var(--gold); font-size: clamp(40px, 5vw, 60px); margin: 22px 0 6px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.08;
}
.hero-sub { font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, 0.88); max-width: 36ch; margin: 22px auto 0; }
.hero-facts {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin-top: 36px; padding: 16px 28px;
  border: 1px solid rgba(248, 178, 41, 0.3); border-radius: 9999px;
  background: rgba(14, 59, 33, 0.55);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; }
.hero-facts .icon { color: var(--gold); }
.fact-place { display: flex; flex-direction: column; text-align: left; line-height: 1.35; }
.fact-place .addr-link { font-weight: 400; font-size: 15px; }
.hero-tagline {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px;
  margin-top: 28px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}
.spark { width: 12px; height: 12px; fill: var(--gold); stroke: none; }
.tg-row, .tg-mid { display: inline-flex; align-items: center; gap: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Schedule ---------- */
.schedule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.schedule-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px 24px; text-decoration: none;
}
.schedule-card .icon-lg { color: var(--red); }
.schedule-card h3 { flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--red); }
.card-link .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.schedule-card:hover { box-shadow: var(--shadow-pine); transform: translateY(-3px); }
.schedule-card:hover .card-link .icon { transform: translate(2px, -2px); }

/* ---------- Fun Zone ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activity { overflow: hidden; }
.photo {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background-color: var(--off-white);
  background-image: radial-gradient(circle at 50% 30%, rgba(248, 178, 41, 0.14), rgba(248, 178, 41, 0) 70%);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--border);
  color: var(--green);
}
.photo .icon { width: 56px; height: 56px; stroke-width: 1.2; }
.photo[style] .icon { display: none; }
.activity-body { padding: 18px 20px 22px; }
.callout {
  margin: 40px auto 0; max-width: 60ch; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--green);
}

/* ---------- Bazaar ---------- */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.hours-grid.single { grid-template-columns: 1fr; }
.hours-card { padding: 28px; }
.hours-date { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--green); margin-top: 16px; letter-spacing: -0.02em; }
.hours-time { font-weight: 600; font-size: 18px; color: var(--red); margin-top: 2px; }
.hours-place { display: flex; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--text-muted); }
.hours-place .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.place-name { font-weight: 600; color: var(--text); }
.addr-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(22, 91, 51, 0.35); text-underline-offset: 3px; transition: color var(--dur) var(--ease); }
.addr-link:hover { color: var(--green); text-decoration-color: currentColor; }
.hero-facts .addr-link { text-decoration-color: rgba(248, 178, 41, 0.5); }
.hero-facts .addr-link:hover { color: var(--gold); }

.vendor-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; align-items: start; }
.vendor-card { padding: 36px; }
.vendor-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.vendor-top h3 { font-size: 30px; }
.vendor-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px;
}
.vendor-stats div { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.vendor-stats dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.vendor-stats dd { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--green); letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; }
.fine { font-size: 15px; color: var(--text-muted); margin-top: 14px; }
.vendor-card h4 { margin: 28px 0 14px; }
.vendor-card .btn { margin-top: 30px; position: relative; z-index: 2; }

.spark-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px; font-weight: 500;
}
.spark-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold-active); font-size: 15px;
}
.two-col { columns: 2; column-gap: 24px; }
.two-col li { break-inside: avoid; }

.guidelines { padding: 32px; }
.guidelines h4 { margin-bottom: 8px; }
.rules { counter-reset: r; }
.rules li {
  counter-increment: r; position: relative;
  padding: 16px 0 16px 46px; border-top: 1px solid var(--border); font-size: 16px;
}
.rules li:first-child { border-top: 0; }
.rules li::before {
  content: counter(r); position: absolute; left: 0; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--gold); font-weight: 600; font-size: 14px;
}

/* ---------- Café ---------- */
.cafe { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cafe .section-head { margin-bottom: 0; }
.menu { display: grid; gap: 14px; }
.menu li {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--green);
}
.menu .icon-lg { color: var(--red); }

/* ---------- Program ---------- */
.section-pine {
  background:
    radial-gradient(circle at 50% 0%, rgba(248, 178, 41, 0.12) 0%, rgba(22, 91, 51, 0) 65%),
    var(--green);
  color: var(--white);
}
.section-pine .pine { opacity: 0.07; }
.section-pine h2 { color: var(--white); }
.section-pine .script { color: var(--gold); }
.section-pine .lede { color: rgba(255, 255, 255, 0.85); }
.section-pine .pill-date { background: var(--green-active); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 28px 18px;
  border: 1px solid rgba(248, 178, 41, 0.3); border-radius: var(--radius-lg);
  background: rgba(14, 59, 33, 0.45);
  font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25;
}
.feature-grid .icon-lg { color: var(--gold); }
.presentation {
  position: relative; margin-top: 28px; text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--text);
  border: 1px solid var(--gold);
  box-shadow: var(--glow-gold);
}
.presentation h3 { font-size: clamp(32px, 4.4vw, 50px); margin: 18px 0 12px; color: var(--red); }
.presentation p { color: var(--text-muted); max-width: 46ch; margin: 0 auto; font-size: 18px; }

/* ---------- Contact ---------- */
.contact-card { text-align: center; padding: 56px 32px; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow-pine); }
.contact-card .lede { margin-left: auto; margin-right: auto; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.contact-card .btn-ghost { font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; background: var(--green-active); color: rgba(255, 255, 255, 0.86);
  padding: 72px 0; font-size: 15px;
  border-top: 3px solid var(--gold);
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; z-index: 1; }
.site-footer .logo { color: var(--white); font-size: 26px; margin-bottom: 6px; }
.footer-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.site-footer p + p { margin-top: 8px; }
.site-footer a { text-decoration-color: rgba(248, 178, 41, 0.5); text-underline-offset: 3px; }
.footer-link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600;
  padding: 7px 14px; border: 1px solid rgba(248, 178, 41, 0.4); border-radius: 9999px; color: var(--gold);
  transition: background-color var(--dur) var(--ease);
}
.footer-link:hover { background: rgba(248, 178, 41, 0.1); }
.footer-link .icon { width: 14px; height: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .schedule-grid, .activity-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .activity:last-child:nth-child(odd) { grid-column: span 2; }
  .activity:last-child:nth-child(odd) .photo { aspect-ratio: 2 / 1; }
  .vendor-grid, .cafe { grid-template-columns: 1fr; }
  .cafe { gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-pad: 72px; }
  .logo { font-size: 21px; }
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .hero { padding: 72px 0 80px; }
  .hero-facts { flex-direction: column; align-items: flex-start; border-radius: var(--radius-lg); padding: 16px 20px; text-align: left; }
  .hero-actions .btn { width: 100%; }
  .hero-tagline { flex-direction: column; gap: 10px; margin-top: 24px; font-size: clamp(10px, 3.05vw, 12px); letter-spacing: 0.04em; }
  .tg-row { gap: 10px; white-space: nowrap; }
  .tg-mid { display: none; }
  .hero-tagline .spark { width: 10px; height: 10px; }
  .schedule-grid, .hours-grid, .footer-inner { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .activity h3 { font-size: 17px; }
  .activity-body { padding: 12px 14px 16px; }
  .photo .icon { width: 40px; height: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-grid li { font-size: 17px; padding: 22px 12px; }
  .vendor-card, .guidelines { padding: 24px; }
  .vendor-stats { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
  .vendor-card .btn, .contact-actions .btn { width: 100%; }
  .menu li { font-size: 22px; }
  .pine { width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shimmer::before { animation: none; display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
