/* FestivLand blog — static styling matched to the app's design tokens
   (client/src/index.css). Navy-900 #0a1628 structural, Coral-500 #f25c54
   accent, system sans, 8px radius. No build step; this file is served as-is. */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f1a2e;
  --navy-700: #1d2e4e;
  --navy-200: #b3bdd1;
  --navy-50: #f0f2f5;
  --coral-500: #f25c54;
  --coral-600: #e63946;
  --ink: #0a1628;
  --muted: #525252;
  --muted-2: #737373;
  --border: #e5e5e5;
  --bg: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
  --wrap: 1200px;
  --read: 720px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 14px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 18px 40px rgba(10, 22, 40, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--coral-500);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.read {
  max-width: var(--read);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand img {
  height: 30px;
  width: 30px;
  border-radius: 7px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--navy-900);
  background: var(--navy-50);
}
.site-nav a.active {
  color: var(--coral-600);
  background: #fff1f0;
}
.site-nav svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid var(--navy-900);
}
.btn-primary:hover {
  background: var(--navy-800);
}
.btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  background: var(--coral-500);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--coral-500);
}
.btn-coral:hover {
  background: var(--coral-600);
  border-color: var(--coral-600);
}
.site-nav svg,
.btn-primary svg {
  flex: none;
}

/* Mobile nav drawer (CSS-only <details>, no JS) */
.nav-drawer {
  display: none;
  position: relative;
}
.nav-drawer summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--muted);
}
.nav-drawer summary::-webkit-details-marker {
  display: none;
}
.nav-drawer summary:hover {
  background: var(--navy-50);
  color: var(--navy-900);
}
.nav-drawer-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 1px;
}
.nav-drawer-icon::before,
.nav-drawer-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-drawer-icon::before {
  top: -7px;
}
.nav-drawer-icon::after {
  top: 7px;
}
.nav-drawer-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
}
.nav-drawer-panel a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav-drawer-panel a:hover {
  color: var(--navy-900);
  background: var(--navy-50);
}
.nav-drawer-panel a.active {
  color: var(--coral-600);
  background: #fff1f0;
}
.nav-drawer-panel .btn-primary {
  margin-top: 4px;
  justify-content: center;
  color: #fff;
}
.nav-drawer-panel .btn-primary:hover {
  color: #fff;
  background: var(--navy-800);
}

/* ---------- Hero (navy band, like the live site) ---------- */
.hero {
  background: var(--navy-900);
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.045) 1.1px,
    transparent 1.1px
  );
  background-size: 22px 22px;
  color: #fff;
  padding: 60px 0 96px;
  text-align: center;
}
.hero .kicker {
  display: inline-block;
  color: var(--coral-500);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 auto;
  max-width: 880px;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hero .byline {
  margin-top: 18px;
  color: var(--navy-200);
  font-size: 0.9375rem;
}
.hero .byline .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--navy-200);
  vertical-align: middle;
  margin: 0 9px;
}

/* Lead image lifts up into the content from the navy band */
.lead {
  max-width: 960px;
  margin: -64px auto 0;
  padding: 0 24px;
}
.lead img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-50);
}

/* ---------- Article ---------- */
.article {
  padding: 44px 0 8px;
}
.article p,
.article ul,
.article ol,
.article table {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--navy-700);
}
.article p {
  margin: 0 0 1.25em;
}
.article > p:first-of-type {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--navy-800);
}
.article h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.article h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.article a {
  color: var(--coral-600);
  text-decoration: underline;
  text-decoration-color: rgba(242, 92, 84, 0.4);
  text-underline-offset: 2px;
}
.article a:hover {
  text-decoration-color: var(--coral-600);
}
.article strong {
  color: var(--navy-900);
  font-weight: 600;
}
.article em {
  color: var(--navy-700);
}
.article ul,
.article ol {
  padding-left: 1.25em;
  margin: 0 0 1.25em;
}
.article li {
  margin: 0.4em 0;
}
.article li::marker {
  color: var(--coral-500);
}
.article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.4em 0;
}

/* Tables (the season calendar) */
.article .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 0 1.5em;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.article thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}
.article tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--border);
  color: var(--navy-700);
}
.article tbody tr:nth-child(even) {
  background: #fbfcfd;
}

/* Product callout (rendered from a markdown blockquote) */
.article blockquote,
.callout {
  margin: 1.8em 0;
  padding: 18px 20px;
  background: var(--navy-50);
  border-left: 3px solid var(--coral-500);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy-800);
}
.callout strong,
.article blockquote strong {
  color: var(--navy-900);
}
.article blockquote p {
  margin: 0 0 0.6em;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy-800);
}
.article blockquote p:last-child {
  margin-bottom: 0;
}

/* ---------- Featured events (real FestivLand cards) ---------- */
.featured {
  margin: 40px 0 8px;
}
.featured h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 4px;
}
.featured .sub {
  color: var(--muted-2);
  margin: 0 0 22px;
  font-size: 1rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.ev-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.ev-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ev-card .thumb {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--navy-50);
}
.ev-card .body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ev-card h3 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.ev-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.875rem;
  margin: 3px 0;
}
.ev-meta svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--navy-200);
}
.ev-card .foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}
.ev-card .price small {
  display: block;
  color: var(--muted-2);
  font-size: 0.75rem;
}
.ev-card .price b {
  color: var(--navy-900);
  font-size: 1.0625rem;
  font-weight: 700;
}
.ev-card .view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral-500);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.ev-card .view:hover {
  background: var(--coral-600);
}
.ev-card .view svg {
  width: 15px;
  height: 15px;
}

/* ---------- FAQ ---------- */
.faqs {
  margin: 46px 0 8px;
}
.faqs h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.faq {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 36px 16px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--coral-500);
  line-height: 1;
}
.faq[open] summary::after {
  content: '\2212';
}
.faq p {
  margin: 0 0 18px;
  color: var(--navy-700);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.site-footer .cols {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer .brand {
  margin-bottom: 12px;
}
.site-footer .desc {
  color: var(--muted-2);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 360px;
}
.site-footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.site-footer .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .links a {
  color: var(--muted-2);
  font-size: 0.9375rem;
}
.site-footer .links a:hover {
  color: var(--coral-600);
}
.site-footer .social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy-700);
}
.site-footer .social a:hover {
  color: var(--coral-600);
  border-color: var(--coral-500);
}
.site-footer .copy {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.875rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero {
    padding: 44px 0 80px;
  }
  .lead {
    margin-top: -56px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .site-footer .cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-nav .hide-sm {
    display: none;
  }
  .brand .brand-text {
    display: none;
  }
  .bar > .site-nav,
  .bar > .btn-primary.bar-cta {
    display: none;
  }
  .nav-drawer {
    display: block;
  }
}
