/* St. Helen Bluegill Festival — temporary site.
   Warm, typographic, and close in spirit to eventpromotions.ai. */

:root {
  --cream: #F7F1E6;
  --cream-deep: #EDE4D4;
  --ink: #1C1612;
  --muted: #5E574E;
  --line: rgba(28, 22, 18, 0.12);
  --orange: #C8551B;
  --orange-hover: #A84616;
  --white: #FFFBF7;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--orange-hover);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.4vw, 4.65rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 22, 18, 0.28);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
}

.btn:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.text-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover {
  color: var(--orange-hover);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo-kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  border-radius: 1px;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -5px; }
.burger::after { top: 5px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--orange);
}

.site-nav .nav-cta {
  color: #fff;
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover {
  color: #fff;
}

/* Hero */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad) clamp(2.5rem, 5vw, 4.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
}

.lede {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-art {
  justify-self: center;
  max-width: 22rem;
  width: 100%;
}

.hero-art img {
  width: 100%;
}

/* Feature photo */

.feature-photo {
  max-width: 1280px;
  margin: 0 auto 1rem;
  padding: 0 var(--pad);
}

.feature-photo img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  aspect-ratio: 16 / 8.5;
}

.feature-photo figcaption,
.poster figcaption,
.split-photo figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Sections */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) 0;
}

.section:last-of-type {
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-intro p {
  color: var(--muted);
}

.day-grid {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.day-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.day-name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.day-date {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
  align-items: center;
}

.split-copy .address {
  font-style: normal;
  color: var(--ink);
  margin: 0.25rem 0 1rem;
}

.split-photo img,
.flyer img {
  width: 100%;
  border-radius: 1.15rem;
}

.flyer {
  max-width: 28rem;
}

.poster {
  margin: 0 auto;
  max-width: 28rem;
}

.poster a {
  display: block;
  color: inherit;
}

.poster img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(28, 22, 18, 0.12);
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.1rem;
}

/* Contact */

.contact-card {
  background: #161210;
  color: #F7F1E6;
  border-radius: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.contact-card h2 {
  color: #F7F1E6;
  max-width: 14ch;
}

.contact-card p {
  color: rgba(247, 241, 230, 0.78);
  max-width: 34rem;
}

.contact-lines {
  font-size: 1.15rem;
  color: #F7F1E6 !important;
  margin: 1.5rem 0 1.75rem !important;
  line-height: 1.55;
}

.contact-lines a {
  color: #F7F1E6;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 241, 230, 0.45);
}

.contact-lines a:hover {
  color: #fff;
}

/* Footer */

.site-footer {
  background: var(--cream-deep);
  padding: 2rem var(--pad);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--ink);
}

/* Desktop */

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.75fr);
    gap: 3rem;
  }

  .day-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .split-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .split-reverse .split-copy {
    order: 1;
  }

  .gallery {
    grid-template-columns: 1.15fr 0.75fr 1.15fr;
    grid-template-rows: 1fr 1fr;
    min-height: 36rem;
    gap: 1rem;
  }

  .gallery figure:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .gallery-tall {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .gallery figure:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .gallery-wide {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Mobile navigation */

@media (max-width: 799px) {
  .nav-toggle-btn {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--pad) 1.1rem;
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin: 0.85rem 0 0;
    align-self: flex-start;
    border-bottom: 0;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-btn .burger {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-btn .burger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn .burger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .feature-photo img {
    aspect-ratio: 16 / 10;
    border-radius: 0.9rem;
  }
}

@media (max-width: 520px) {
  .logo-text { font-size: 0.95rem; }
  .hero-art { max-width: 18rem; }
  .day-grid { gap: 0.6rem; }
  .day-date { font-size: 1.3rem; }
}

/* Fixes after preview review */
.section-intro .eyebrow,
.split-copy .eyebrow { color: var(--orange); }
.contact-card h2 { max-width: 22ch; }
.split-photo { margin: 0; width: 100%; }
@media (max-width: 799px) {
  .flyer { max-width: none; }
  .gallery img { aspect-ratio: 4 / 3; height: auto; }
  .gallery-tall img { aspect-ratio: 4 / 5; }
}
