/* BXVL Coffeehouse & Whistling Rail — shared styles */
:root {
  --bg: #F7F5EE;
  --bg-alt: #F0EADF;
  --ink: #202020;
  --ink-soft: #2C2A2A;
  --heading: #616057;
  --light: #F7F5EE;
  --dark: #202020;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  max-width: 1366px;
  margin: 0 auto;
  height: 144px;
  padding: 28px 72px 0 88px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 88px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
}
.nav a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--heading); }
.social { display: flex; gap: 7px; margin-left: 2px; }
.social img { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  text-align: center;
  padding: 40px 20px 34px;
}
.hours { font-family: var(--serif); font-size: 22px; line-height: 1.27; color: var(--ink); }
.hours-title { margin-bottom: 4px !important; }
.hours p { margin: 0; }
.contact {
  margin-top: 22px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact p { margin: 0; }
.contact a { text-decoration: none; }
.contact a[href^="https://www.google.com/maps"] { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .social { justify-content: center; margin: 22px 0 36px; }
.copyright { font-family: var(--sans); font-weight: 300; font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Shared bits ---------- */
.btn {
  display: inline-block;
  border: 1px solid var(--heading);
  padding: 12px 22px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--heading);
  text-decoration: none;
  background: transparent;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--heading); color: var(--light); }
.btn.light { color: var(--light); border-color: var(--light); }
.btn.light:hover { background: var(--light); color: var(--ink); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Home ---------- */
.home-title {
  text-align: center;
  font-weight: 400;
  font-size: 61px;
  color: var(--heading);
  margin: 0;
  padding: 0 20px 6px;
  line-height: 1.15;
}
.home-hero {
  position: relative;
  background: #2a2420 center / cover no-repeat;
  color: var(--light);
  text-align: center;
  padding: 100px 20px 0;
}
.home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.30); }
.home-hero > * { position: relative; }
.home-hero .item { max-width: 860px; margin: 0 auto 56px; }
.home-hero h2 {
  font-weight: 400;
  font-size: 50px;
  margin: 0 0 6px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  line-height: 1.2;
}
.home-hero p { font-size: 22px; line-height: 1.27; margin: 0; }
.home-hero .btn { margin: 24px 0 0; font-size: 22px; padding: 13px 22px 12px; }

/* ---------- Cafe menu ---------- */
.menu-sec { padding: 120px 20px; }
.menu-sec.alt { background: var(--bg-alt); }
.menu-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 40px;
  align-items: start;
}
.menu-text { padding-top: 70px; }
.menu-text h2 {
  font-weight: 400;
  font-size: 88px;
  line-height: 1.08;
  color: var(--heading);
  margin: 0 0 40px;
}
.tagline { font-size: 26px; line-height: 1.35; margin: 0 0 28px; }
.menu-list { list-style: none; padding: 0; margin: 0; font-size: 20px; line-height: 1.4; }
.menu-list li::before { content: "• "; font-size: 12px; vertical-align: middle; }
.menu-list ul { list-style: none; padding-left: 16px; margin: 0; }
.menu-list ul li::before { content: "◦ "; font-size: 13px; }
.menu-list b { font-weight: 700; }
.shadow-img { position: relative; }
.shadow-img::after {
  content: "";
  position: absolute;
  left: 18px; top: 18px; right: -18px; bottom: -18px;
  background: var(--dark);
  z-index: 0;
}
.shadow-img img { position: relative; z-index: 1; width: 100%; height: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); }
.split .text { padding: 100px 40px 100px 135px; }
.split .text h2 { font-weight: 400; font-size: 88px; line-height: 1.08; color: var(--heading); margin: 0; }
.split .note { font-size: 24px; margin: 4px 0 90px; }
.split .pic { background: center / cover no-repeat; min-height: 600px; }
.dish { margin: 0 0 80px; max-width: 420px; }
.dish h3 { font-size: 26px; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.dish p { font-size: 20px; line-height: 1.4; margin: 0; color: #6f6d64; }

.pops { position: relative; background: center / cover no-repeat; color: var(--light); padding: 100px 20px 160px 135px; }
.pops::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); }
.pops > * { position: relative; }
.pops h2 { font-weight: 400; font-size: 88px; line-height: 1.08; margin: 0 0 90px; max-width: 520px; }
.pops h2 small { font-size: 18px; margin-left: 14px; vertical-align: middle; }
.pops .dish h3 { color: var(--light); }
.pops .dish p { color: rgba(247,245,238,.85); }
.pops .dish { margin-bottom: 70px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---------- Whistling Rail ---------- */
.wr {
  position: relative;
  min-height: 1180px;
  background: center / cover no-repeat;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wr .panel {
  grid-column: 2;
  background: rgba(52, 51, 46, .86);
  color: var(--light);
  text-align: center;
  padding: 230px 40px 80px;
}
.wr h1 { font-weight: 400; font-size: 96px; line-height: 1.05; margin: 0 0 44px; color: var(--light); }
.wr .sub { font-size: 38px; line-height: 1.25; margin: 0 0 30px; }
.wr .info { font-size: 20px; line-height: 1.4; margin: 0 0 30px; }
.wr .info b { display: block; }
.wr .btn { color: var(--light); border-color: var(--light); min-width: 238px; font-size: 20px; margin-top: 30px; }
.wr .btn:hover { background: var(--light); color: var(--ink); }

/* ---------- About ---------- */
.about { max-width: 1222px; margin: 0 auto; display: grid; grid-template-columns: 611px 1fr; }
.about .pic { background: center / cover no-repeat; min-height: 1080px; }
.about .panel { background: var(--bg-alt); padding: 140px 100px 80px; }
.about h1 { font-weight: 400; font-size: 72px; color: var(--heading); margin: 0 0 30px; }
.about p { font-size: 20px; line-height: 1.4; margin: 0; }

/* ---------- Parking ---------- */
.parking-wrap { padding: 0 20px 80px; display: flex; justify-content: center; }
.parking-card {
  width: 100%;
  max-width: 880px;
  background: #FFCC0E;
  color: #111;
  font-family: "Josefin Sans", sans-serif;
  text-align: center;
}
.parking-card .w { max-width: 620px; margin: 0 auto; padding: 32px 20px; }
.parking-card h1 { font-family: "League Gothic", sans-serif; font-weight: 400; font-size: 64px; line-height: 1; margin: 0 0 16px; text-transform: uppercase; }
.parking-card h2 { font-family: "League Gothic", sans-serif; font-weight: 400; font-size: 36px; margin: 28px 0 8px; text-transform: uppercase; }
.parking-card p { font-size: 19px; line-height: 1.5; margin: 0 0 14px; }
.parking-card .warn { border: 4px solid #111; padding: 14px 16px; margin: 20px 0; font-family: "League Gothic", sans-serif; font-size: 40px; line-height: 1.1; text-transform: uppercase; }
.parking-card .call { display: inline-block; background: #111; color: #FFCC0E; font-family: "League Gothic", sans-serif; font-size: 34px; padding: 12px 28px; text-decoration: none; margin: 6px 0 10px; }
.parking-card .foot { font-size: 15px; margin-top: 28px; opacity: .8; }

/* ---------- Arts & Special Events ---------- */
.ev-head { background: var(--dark); color: var(--light); text-align: center; padding: 42px 20px; }
.ev-head h1 { font-weight: 400; font-size: 50px; margin: 0; }
.ev { position: relative; background: center / cover no-repeat; color: var(--light); padding: 40px 20px 90px; }
.ev::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.ev > * { position: relative; }
.ev .inner { max-width: 980px; margin: 0 auto; }
.ev h2 { font-weight: 400; font-size: 50px; line-height: 1.2; margin: 0 0 20px; }
.ev.center h2 { text-align: center; }
.ev .details { font-weight: 700; padding-left: 32px; }
.ev .when { font-size: 18px; line-height: 1.65; margin: 0 0 14px; }
.ev .desc { font-size: 16px; line-height: 1.85; margin: 0; }
.ev2 .details { padding-left: 0; }
.ev2 .when { font-size: 20px; line-height: 1.5; }
.ev2 .desc { font-size: 17px; }
.past { position: relative; background: #0d3a8c center / cover no-repeat; color: var(--light); padding: 16px 20px 60px; border-top: 2px solid #fff; }
.past .inner { max-width: 834px; margin: 0 auto; }
.past h2 { font-weight: 400; font-size: 44px; margin: 0 0 6px; }
.past ul { margin: 0; padding-left: 28px; font-weight: 700; font-size: 17px; line-height: 1.55; }

/* ---------- 404 ---------- */
.notfound { max-width: 760px; margin: 0 auto; padding: 60px 20px 100px; text-align: center; }
.notfound h1 { font-weight: 400; font-size: 64px; color: var(--heading); margin: 0 0 20px; }
.notfound p { font-size: 20px; line-height: 1.5; margin: 0 0 28px; }
.notfound .btn { margin: 6px; font-size: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { height: auto; padding: 18px 18px 26px; flex-direction: column; align-items: center; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 10px 16px; margin-top: 8px; }
  .home-title { font-size: 40px; }
  .home-hero { padding-top: 60px; }
  .home-hero h2 { font-size: 34px; }
  .home-hero p, .hours { font-size: 18px; }
  .menu-sec { padding: 60px 20px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-text { padding-top: 0; }
  .menu-text h2, .split .text h2, .pops h2 { font-size: 54px; }
  .shadow-img { max-width: 420px; margin-right: 18px; }
  .split { grid-template-columns: 1fr; }
  .split .text { padding: 60px 24px 20px; }
  .split .note { margin-bottom: 50px; }
  .dish { margin-bottom: 40px; }
  .split .pic { min-height: 340px; }
  .pops { padding: 60px 24px 80px; }
  .pops h2 { margin-bottom: 50px; }
  .wr { grid-template-columns: 1fr; min-height: 0; }
  .wr .panel { grid-column: 1; padding: 120px 24px 80px; }
  .wr h1 { font-size: 64px; }
  .wr .sub { font-size: 30px; }
  .about { grid-template-columns: 1fr; }
  .about .pic { min-height: 420px; }
  .about .panel { padding: 50px 24px; }
  .about h1 { font-size: 54px; }
  .parking-card h1 { font-size: 48px; }
  .parking-card .warn { font-size: 32px; }
  .ev h2 { font-size: 36px; }
  .ev .details { padding-left: 0; }
  .past h2 { font-size: 36px; }
}
/* ---------- Whistling Rail menu (images of the printed pages) ---------- */
.wr .btn + .btn { margin-left: 12px; }
.wr-menu { background: var(--bg); padding: 70px 20px 80px; }
.wm-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wm-paper { max-width: 1000px; margin: 0 auto; background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.08); display: grid; grid-template-columns: 1fr 1fr; }
.wm-page { display: block; border-top: 1px solid #d9d9d9; }
.wm-page:nth-child(-n+2) { border-top: 0; }
.wm-page:nth-child(even) { border-left: 1px solid #000; }
.wm-page img { width: 100%; height: auto; display: block; }
.wm-tip { text-align: center; font-family: var(--sans); font-size: 14px; color: var(--ink-soft); margin: 18px 0 0; }
@media (max-width: 900px) {
  .wr-menu { padding: 40px 12px 60px; }
  .wm-paper { grid-template-columns: 1fr; }
  .wm-page:nth-child(2) { border-top: 1px solid #d9d9d9; }
  .wm-page:nth-child(even) { border-left: 0; }
  .wr .btn + .btn { margin-left: 0; }
  .wr .btn { display: block; margin: 16px auto 0; max-width: 260px; }
}
