/* ===========================================================
   EatWabash.com
   Palette idea: 1880 carbon-arc light (cold blue-white) against
   the night, set against the warm amber of a theatre marquee.
   =========================================================== */

:root {
  --night:        #131C33;
  --night-deep:   #0B1122;
  --night-soft:   #1E2A45;
  --arc:          #C9DCF0;
  --arc-dim:      #8FA8C4;
  --filament:     #E9A94C;
  --brass:        #9C6F3A;
  --paper:        #F4EFE6;
  --paper-warm:   #EDE5D6;
  --ink:          #1A1712;
  --ink-soft:     #55503F;

  --shell: 1140px;
  --gut: clamp(1.25rem, 4vw, 3rem);

  --step-label: 0.72rem;
  --step-small: 0.875rem;
  --step-body:  1.0625rem;
  --step-h3:    clamp(1.25rem, 2vw, 1.5rem);
  --step-h2:    clamp(1.75rem, 3.6vw, 2.75rem);
  --step-h1:    clamp(2.5rem, 6.5vw, 5rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  font-size: var(--step-body);
  line-height: 1.75;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.shell--narrow { max-width: 780px; }

/* ---------- Marquee label: the utility voice of the site ---------- */

.marquee-label {
  font-family: "Jost", sans-serif;
  font-size: var(--step-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brass);
  margin: 0 0 1.25rem;
}

.marquee-label--arc { color: var(--arc-dim); }

/* ---------- Masthead ---------- */

.masthead {
  background: var(--night-deep);
  color: var(--arc);
  border-bottom: 1px solid rgba(201, 220, 240, 0.14);
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.125rem;
}

.wordmark {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  margin-right: auto;
  white-space: nowrap;
}

.wordmark em {
  font-style: normal;
  color: var(--filament);
}

.masthead__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-family: "Jost", sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.masthead__nav a {
  color: var(--arc-dim);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.masthead__nav a:hover,
.masthead__nav a:focus-visible { color: var(--filament); border-bottom-color: var(--filament); }

.masthead__nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--brass); }

/* ---------- Hero: the four Brush lamps of March 31, 1880 ---------- */

.hero {
  position: relative;
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(4.5rem, 12vw, 9rem) clamp(3.5rem, 9vw, 7rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% -10%, rgba(201, 220, 240, 0.16), transparent 70%),
    radial-gradient(45% 55% at 50% 120%, rgba(233, 169, 76, 0.10), transparent 70%);
  pointer-events: none;
}

.lamps {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(2.5rem, 12vw, 8rem);
  padding-top: 0.75rem;
}

.lamp {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow:
    0 0 12px 3px rgba(201, 220, 240, 0.9),
    0 0 34px 12px rgba(143, 168, 196, 0.45),
    0 0 80px 30px rgba(143, 168, 196, 0.18);
  animation: arc-breathe 5.5s ease-in-out infinite;
}

.lamp:nth-child(2) { animation-delay: -1.4s; }
.lamp:nth-child(3) { animation-delay: -2.9s; }
.lamp:nth-child(4) { animation-delay: -4.1s; }

@keyframes arc-breathe {
  0%, 100% { opacity: 0.92; }
  45%      { opacity: 0.62; }
}

.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  font-family: "Jost", sans-serif;
  font-size: var(--step-label);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--arc-dim);
  margin: 0 0 1.75rem;
  max-width: 48ch;
  line-height: 2;
}

.hero h1 {
  font-size: var(--step-h1);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

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

.hero__sub {
  max-width: 54ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: rgba(244, 239, 230, 0.82);
  margin: 0 0 2.5rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--filament);
  color: var(--filament);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover, .btn:focus-visible { background: var(--filament); color: var(--night-deep); }

.btn--solid { background: var(--filament); color: var(--night-deep); }
.btn--solid:hover, .btn--solid:focus-visible { background: transparent; color: var(--filament); }

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

/* ---------- Section frames ---------- */

.band { padding-block: clamp(3.5rem, 8vw, 6rem); }

.band--night { background: var(--night); color: var(--paper); }
.band--deep  { background: var(--night-deep); color: var(--paper); }
.band--warm  { background: var(--paper-warm); }

.band__head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.band__head h2 { font-size: var(--step-h2); margin-bottom: 1rem; }

.band__head p { margin: 0; color: var(--ink-soft); }

.band--night .band__head p,
.band--deep .band__head p { color: rgba(244, 239, 230, 0.75); }

/* ---------- SIGNATURE: the call sheet ---------- */

.callsheet { list-style: none; margin: 0; padding: 0; }

.callsheet__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(201, 220, 240, 0.16);
}

.callsheet__row:last-child { border-bottom: 1px solid rgba(201, 220, 240, 0.16); }

.callsheet__time {
  font-family: "Jost", sans-serif;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--filament);
}

.callsheet__time b {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.callsheet__time span {
  font-size: var(--step-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--arc-dim);
}

.callsheet__body h3 { font-size: var(--step-h3); margin-bottom: 0.35rem; }

.callsheet__body h3 a { text-decoration-color: rgba(233, 169, 76, 0.5); text-underline-offset: 4px; }

.callsheet__meta {
  font-family: "Jost", sans-serif;
  font-size: var(--step-small);
  letter-spacing: 0.04em;
  color: var(--arc-dim);
  margin: 0 0 0.65rem;
}

.callsheet__body p:last-child { margin: 0; color: rgba(244, 239, 230, 0.84); }

@media (min-width: 640px) {
  .callsheet__row { grid-template-columns: 7.5rem 1fr; }
  .callsheet__time { justify-content: flex-end; }
}

/* ---------- Listing cards ---------- */

.stack { display: grid; gap: 2.5rem; }

.group { }

.group + .group { margin-top: clamp(3rem, 6vw, 4.5rem); }

.group__title {
  font-size: var(--step-h3);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brass);
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}

.card {
  background: #FBF8F2;
  border: 1px solid rgba(26, 23, 18, 0.1);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.band--warm .card { border-color: rgba(26, 23, 18, 0.14); }

.card__kind {
  font-family: "Jost", sans-serif;
  font-size: var(--step-label);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--brass);
}

.card h3 { font-size: var(--step-h3); }

.card h3 a { text-decoration-color: rgba(156, 111, 58, 0.55); text-underline-offset: 4px; }

.card p { margin: 0; font-size: var(--step-small); line-height: 1.7; color: var(--ink-soft); }

.card__facts {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 23, 18, 0.1);
  font-family: "Jost", sans-serif;
  font-size: var(--step-small);
  line-height: 1.7;
  color: var(--ink);
}

.card__facts a { color: var(--brass); }

.card__facts span { display: block; }

.card__closed { color: #8A3A2E; }

/* ---------- Explore grid (dark) ---------- */

.explore {
  display: grid;
  gap: 1px;
  background: rgba(201, 220, 240, 0.16);
  border: 1px solid rgba(201, 220, 240, 0.16);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.explore__item {
  background: var(--night);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.explore__item h3 { font-size: var(--step-h3); color: var(--paper); }

.explore__item p { margin: 0; font-size: var(--step-small); color: rgba(244, 239, 230, 0.72); }

.explore__item .marquee-label { margin-bottom: 0.25rem; }

/* ---------- Detail pages ---------- */

.detail-head { background: var(--night); color: var(--paper); padding-block: clamp(3rem, 8vw, 5rem); }

.detail-head h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; margin-bottom: 1rem; }

.detail-head p { max-width: 56ch; color: rgba(244, 239, 230, 0.82); margin: 0; }

.factbar {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-block: 2rem;
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
}

.factbar dt {
  font-family: "Jost", sans-serif;
  font-size: var(--step-label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: 0.4rem;
}

.factbar dd { margin: 0; font-size: var(--step-small); line-height: 1.7; }

.factbar dd a { color: var(--ink); }

.prose { padding-block: clamp(2.5rem, 6vw, 4rem); }

.prose h2 { font-size: var(--step-h3); margin: 2.5rem 0 0.85rem; }

.prose h2:first-child { margin-top: 0; }

.prose p { margin: 0 0 1.25rem; }

.prose ul { margin: 0 0 1.5rem; padding-left: 1.25rem; }

.prose li { margin-bottom: 0.5rem; }

.pull {
  border-left: 2px solid var(--filament);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--night-deep);
  color: rgba(244, 239, 230, 0.7);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  font-size: var(--step-small);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2.5rem;
}

.footer h4 {
  font-size: var(--step-label);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--filament);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li { margin-bottom: 0.5rem; }

.footer a { color: rgba(244, 239, 230, 0.82); text-decoration-color: rgba(244, 239, 230, 0.3); text-underline-offset: 3px; }

.footer a:hover, .footer a:focus-visible { color: var(--filament); }

.footer__note {
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 220, 240, 0.14);
  max-width: 62ch;
  margin: 0;
}

/* ---------- Accessibility floor ---------- */

:focus-visible {
  outline: 2px solid var(--filament);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--filament);
  color: var(--night-deep);
  padding: 0.75rem 1.25rem;
  font-family: "Jost", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8125rem;
  z-index: 10;
}

.skip:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .lamp { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Utilities ----------
   Replaces the inline styles that had crept into the markup. */

.mt-lg { margin-top: 2.5rem; }
.mb-0  { margin-bottom: 0; }
.link-glow { color: var(--filament); }
.closed { color: #8A3A2E; }

.callsheet__meta a {
  color: var(--arc);
  text-decoration-color: rgba(201, 220, 240, 0.45);
  text-underline-offset: 3px;
}
.callsheet__meta a:hover,
.callsheet__meta a:focus-visible { color: var(--filament); }
