/* Wabash Feed & Garden draft redesign
   Content and photographs come from wabashfeed.com.
   This file is a concept and is not the official site. */

:root {
  --paper: #f3ead7;
  --paper-2: #e8d9b8;
  --cream: #fbf6eb;
  --ink: #231c16;
  --ink-2: #4a3c31;
  --muted: #6b5a4a;
  --barn: #8c2e21;
  --barn-2: #6a1f16;
  --pine: #2a4a34;
  --pine-2: #1b3224;
  --gold: #c6a054;
  --rule: #d4c19f;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(35, 28, 22, 0.14);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(rgba(35, 28, 22, 0.045) 0.7px, transparent 0.7px) 0 0 / 5px 5px,
    linear-gradient(180deg, var(--paper) 0%, #efe3c9 100%);
  min-height: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--barn); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--barn-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.draft-banner {
  background: var(--barn);
  color: #fff8ee;
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
}
.draft-banner a { color: #ffe7b0; }

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: center;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--pine-2);
  color: #f3ead7;
  font-size: 0.9rem;
}
.topbar a { color: #f3ead7; text-decoration: none; }
.topbar a:hover { color: var(--gold); text-decoration: underline; }
.topbar .dot { opacity: 0.45; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 235, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.55rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { width: 168px; height: auto; }
.nav-toggle {
  display: none;
  background: var(--pine);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.4rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--pine);
  color: var(--cream);
}

.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 3.4rem 0; }
.section-kicker {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--barn);
  margin: 0 0 0.4rem;
}
h1, h2, h3, .display {
  font-family: var(--display);
  font-optical-sizing: auto;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 650; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 650; }
h3 { font-size: 1.28rem; font-weight: 650; }
.lede { font-size: 1.18rem; max-width: 42rem; color: var(--ink-2); }
.muted { color: var(--muted); }

.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid;
  align-items: end;
  color: #fff8ee;
  overflow: hidden;
}
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 18, 12, 0.15) 0%, rgba(27, 18, 12, 0.28) 40%, rgba(18, 12, 8, 0.86) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 3.2rem;
}
.hero .since {
  display: inline-block;
  border: 1px solid rgba(255, 232, 176, 0.55);
  color: #ffe7b0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.hero h1 { color: #fff8ee; max-width: 14ch; }
.hero p { max-width: 38rem; font-size: 1.15rem; color: #f3ead7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #d4b36a; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff8ee; border-color: #fff8ee; }
.btn-ghost:hover { background: #fff8ee; color: var(--ink); }
.btn-pine { background: var(--pine); color: var(--cream); }
.btn-pine:hover { background: var(--pine-2); color: var(--cream); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--cream); }

.rule {
  height: 18px;
  width: 100%;
  background: url("../images/border.png") center / auto 18px repeat-x;
  border: 0;
  margin: 0;
}

.quote-band {
  background: var(--pine);
  color: #f6eedc;
  text-align: center;
  padding: 2.4rem 1rem;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 28em;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}
.quote-band cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.event-grid, .dept-grid, .card-grid, .staff-grid, .visit-grid, .video-grid, .proposed-grid {
  display: grid;
  gap: 1.15rem;
}
.event-grid { grid-template-columns: repeat(3, 1fr); }
.dept-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid, .proposed-grid { grid-template-columns: repeat(2, 1fr); }
.staff-grid, .video-grid { grid-template-columns: repeat(3, 1fr); }
.visit-grid { grid-template-columns: 1.1fr 0.9fr; }

.card, .event-card, .dept-card, .staff-card, .proposed {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.event-card img, .dept-card img, .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.event-card img.poster { aspect-ratio: 1 / 1; }
.event-body, .dept-body, .staff-body, .card-body, .proposed-body { padding: 1.1rem 1.15rem 1.25rem; }
.date-chip {
  display: inline-block;
  background: var(--barn);
  color: #fff8ee;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.dept-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.18s ease; }
.dept-card:hover { transform: translateY(-4px); color: inherit; }
.dept-card h3 { margin-bottom: 0.3rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split.reverse img { order: 1; }

.staff-photo, .staff-initials {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper-2);
}
.staff-initials {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--cream);
  background: var(--pine);
}
.staff-role { color: var(--barn); font-weight: 700; margin: 0 0 0.5rem; font-size: 0.95rem; }

.proposed { border: 2px dashed var(--barn); background: #fff8ee; box-shadow: none; }
.proposed-banner {
  background: var(--barn);
  color: #fff8ee;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.45rem 1rem;
}

label { display: block; font-weight: 600; margin: 0.7rem 0 0.25rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 6rem; resize: vertical; }
.form-note {
  font-size: 0.92rem;
  color: var(--barn-2);
  background: #f7e4c8;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin: 0 0 0.8rem;
}
.form-status[hidden] { display: none; }
.form-status {
  margin-top: 0.8rem;
  padding: 0.6rem 0.75rem;
  background: var(--pine);
  color: var(--cream);
  border-radius: 10px;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.45rem 0; border-bottom: 1px solid var(--rule); }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0.6rem 0 0; list-style: none; }
.pill-list li { background: var(--paper-2); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.85rem; }

.faq details { border-top: 1px solid var(--rule); padding: 0.8rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.history-block { margin: 0 0 1.6rem; }
.history-block h3 { color: var(--pine); }

.video-card { text-decoration: none; color: inherit; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card h3 { font-size: 1.1rem; }

.site-footer { background: var(--ink); color: #f3ead7; padding: 2.5rem 0 1.4rem; margin-top: 1rem; }
.site-footer a { color: #ffe7b0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
.footer-logo { width: 150px; margin-bottom: 0.7rem; }
.footer-note {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 234, 215, 0.18);
  font-size: 0.92rem;
  color: #e6d5b4;
}
.social { display: flex; gap: 0.8rem; margin-top: 0.6rem; }

.page-hero { padding: 3rem 0 1.4rem; }
.page-hero h1 { max-width: 18ch; }
.crumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; }
.crumb a { color: inherit; }
.notice {
  background: #fff4dc;
  border-left: 4px solid var(--gold);
  padding: 0.7rem 0.9rem;
  border-radius: 0 10px 10px 0;
  margin: 1rem 0;
}

@media (max-width: 980px) {
  .event-grid, .staff-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .visit-grid, .footer-grid, .proposed-grid { grid-template-columns: 1fr; }
  .split.reverse img { order: 0; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 0.6rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .event-grid, .staff-grid, .video-grid, .card-grid, .dept-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 0.82rem; }
  .logo img { width: 140px; }
  .hero { min-height: 70vh; }
}
