/* ============================================================
   Grand Saline Salt Festival — site stylesheet
   Palette pulled straight from the 2026 poster:
   navy + marigold + cream, with a "salt grain" texture accent.
   ============================================================ */

:root {
  --navy: #232C63;
  --navy-deep: #1A214E;
  --gold: #F3C433;
  --gold-deep: #C99B15;
  --cream: #FBF7EB;
  --ink: #23273A;
  --white: #FFFFFF;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Franklin', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }

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

/* ---------- type ---------- */
.display {
  font-family: 'Rye', 'Georgia', serif;
  font-weight: 400;
  line-height: 1.12;
  color: var(--navy);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

/* ---------- salt-grain divider (signature element) ---------- */
.salt-band {
  height: 26px;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 12% 40%, #fff 1.2px, transparent 1.8px),
    radial-gradient(circle at 28% 70%, #fff 1px,   transparent 1.6px),
    radial-gradient(circle at 45% 30%, #fff 1.3px, transparent 1.9px),
    radial-gradient(circle at 61% 65%, #fff 1px,   transparent 1.6px),
    radial-gradient(circle at 76% 35%, #fff 1.2px, transparent 1.8px),
    radial-gradient(circle at 90% 60%, #fff 1px,   transparent 1.6px);
  background-size: 220px 26px;
}

/* ---------- header / nav ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 4px solid var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.brand {
  font-family: 'Rye', serif;
  font-size: 20px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a, .nav-links .drop-btn {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav-links a:hover, .nav-links .drop-btn:hover { background: rgba(255,255,255,0.12); }

.nav-links a.ticket-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  margin-left: 6px;
}
.nav-links a.ticket-btn:hover { background: #ffd75a; }

/* dropdown — works on hover, keyboard focus, and tap */
.dropdown .drop-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 190px;
  background: var(--white);
  border: 1px solid #e3ddc9;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(26,33,78,0.22);
  list-style: none;
  padding: 6px 0;
}

.dropdown:hover .drop-menu,
.dropdown:focus-within .drop-menu { display: block; }

.drop-menu a {
  display: block;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 0;
}
.drop-menu a:hover { background: var(--cream); }
.drop-menu .drop-note {
  font-size: 12px;
  color: #8b8672;
  padding: 6px 18px 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero .eyebrow { color: var(--gold); }

.hero h1 {
  font-family: 'Rye', serif;
  font-size: clamp(34px, 5vw, 58px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero h1 .gold { color: var(--gold); }

.hero p.lede {
  font-size: 18px;
  max-width: 46ch;
  color: #E7E4F5;
  margin-bottom: 30px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffd75a; }

.btn-ghost { border: 2px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-poster img {
  border: 6px solid var(--white);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  transform: rotate(1.5deg);
  border-radius: 4px;
}

/* ---------- sections ---------- */
section.block { padding: 72px 0; }

section.block h2 {
  font-family: 'Rye', serif;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--navy);
  margin-bottom: 8px;
}

section.block .section-intro {
  max-width: 62ch;
  margin-bottom: 36px;
  color: #4a4e63;
}

.block-alt { background: var(--white); }

/* highlight cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid #e8e2cf;
  border-top: 5px solid var(--gold);
  border-radius: 10px;
  padding: 26px 24px;
}

.block-alt .card { background: var(--cream); }

.card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card .when {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.card p { font-size: 15px; color: #4a4e63; }

.card ul { padding-left: 18px; font-size: 15px; color: #4a4e63; }

/* schedule teaser */
.day-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.day {
  background: var(--cream);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e8e2cf;
}

.day h3 {
  font-family: 'Rye', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
}

.day .date {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.day ul { list-style: none; }
.day li {
  font-size: 15px;
  padding: 7px 0;
  border-bottom: 1px dashed #ddd6bf;
}
.day li:last-child { border-bottom: 0; }
.day li strong { color: var(--navy); }

/* ticket strip */
.ticket-strip {
  background: var(--gold);
  padding: 46px 0;
}
.ticket-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.ticket-strip h2 {
  font-family: 'Rye', serif;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 32px);
}
.ticket-strip p { color: var(--navy); max-width: 58ch; font-size: 15.5px; }
.ticket-strip.strip-navy { background: var(--navy); }
.ticket-strip.strip-navy h2 { color: var(--gold); }
.ticket-strip.strip-navy p { color: #EDE9F5; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }

/* photo gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery figure {
  background: var(--white);
  border: 1px solid #e8e2cf;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery a { display: block; overflow: hidden; background: var(--navy-deep); }

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}

.gallery a:hover img { transform: scale(1.04); }

.gallery figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: #4a4e63;
}

/* year links row on home page */
.year-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.year-links .btn { border: 2px solid var(--navy); color: var(--navy); }
.year-links .btn:hover { background: var(--navy); color: var(--white); }

/* ---------- year page ---------- */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 52px 0;
}
.page-head .eyebrow { color: var(--gold); }
.page-head h1 {
  font-family: 'Rye', serif;
  font-size: clamp(30px, 4.4vw, 48px);
  color: var(--white);
}
.page-head p { color: #E7E4F5; max-width: 60ch; margin-top: 10px; }

.magazine {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: start;
}
.magazine .mag-cover img {
  border: 5px solid var(--white);
  box-shadow: 0 14px 32px rgba(26,33,78,0.25);
  border-radius: 4px;
}
.magazine h2 { margin-bottom: 12px; }
.magazine p { margin-bottom: 18px; color: #4a4e63; max-width: 55ch; }

/* full schedule page */
.sched h2 {
  font-family: 'Rye', serif;
  color: var(--navy);
  font-size: 26px;
  margin: 44px 0 6px;
}
.sched h2:first-of-type { margin-top: 0; }
.sched .date-line {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.sched-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid #e8e2cf; border-radius: 10px; overflow: hidden; }
.sched-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #efe9d6;
  font-size: 15px;
  vertical-align: top;
}
.sched-table tr:last-child td { border-bottom: 0; }
.sched-table td.time {
  white-space: nowrap;
  font-weight: 700;
  color: var(--navy);
  width: 190px;
}
.sched-table .new-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}
.sched .note { font-size: 14px; color: #6b6650; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #C9C6E0;
  padding: 44px 0;
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--gold); }
.site-footer .foot-col { min-width: 180px; }
.site-footer .foot-head {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.site-footer .foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.9;
}
.site-footer .foot-links a.is-current {
  color: var(--white);
  text-decoration: none;
  cursor: default;
}
.site-footer .foot-brand {
  font-family: 'Rye', serif;
  color: var(--white);
  font-size: 17px;
  margin-bottom: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-poster { max-width: 380px; margin: 0 auto; }
  .cards, .day-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .magazine { grid-template-columns: 1fr; }
  .magazine .mag-cover { max-width: 320px; }
}

@media (max-width: 560px) {
  .cards, .day-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav { justify-content: center; }
  .sched-table td.time { width: auto; }
  .dropdown .drop-menu { right: auto; left: 0; }
}
