/* MW27 — matched to the approved Muse prototype design.
   Dark deep-teal theme, serif display type, estuary hero.
   This replaces the earlier plain default styling, which was
   Muse's default — NOT a requirement from Jeff, Sam, or Jess. */
* { box-sizing: border-box; }
:root{
  --bg:#0c2420; --bg2:#0f2e28; --panel:#12362e; --panel2:#ffffff;
  --teal:#2fbfae; --teal-dark:#173f35; --ink:#eef6f2; --muted:#b9cdc5;
  --gold:#e8c87a; --line:#245047; --cream:#faf8f4;
}
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; margin:0; color:var(--ink); background:var(--bg); line-height:1.55; }
.site-header { display:flex; justify-content:space-between; align-items:center; padding:1rem 1.25rem; background:var(--bg2); border-bottom:1px solid var(--line); }
.site-header a { color:#fff; text-decoration:none; font-weight:700; }
.site-header nav a { font-weight:400; margin-left:1rem; color:var(--muted); }
main { max-width: 960px; margin: 0 auto; padding: 1.25rem; }
footer { max-width:960px; margin:2rem auto; padding:0 1.25rem 2rem; color:var(--muted); font-size:.9rem; }
a { color: var(--teal); }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight:600; line-height:1.05; }
h2 { font-family: Georgia, 'Times New Roman', serif; }
/* Prototype banner — teal, on top, exact wording set in views.js */
.banner { padding:.85rem 1rem; border-radius:8px; margin-bottom:1rem; }
.banner-demo { background:#14b8a6; color:#04211c; font-weight:600; text-align:center; border-radius:0; margin:-1.25rem -1.25rem 1.25rem; }
.banner-error { background:#fde8e8; border:1px solid #e0a3a3; color:#5b1a1a; }
.banner-ok { background:#e6f4ea; border:1px solid #9ecfae; color:#173f35; padding:1rem 1.25rem; border-radius:12px; }
/* Hero — home page only, injected by server.js */
.hero { margin:0 0 1.5rem; }
.hero img { width:100%; height:auto; display:block; border-radius:16px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin:.9rem 0 .3rem; color:#fff; }
.tagline { font-family: Georgia, serif; font-style: italic; font-size:1.25rem; color:var(--muted); margin:.2rem 0 1rem; }
.pills { display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0 1rem; }
.pill { background:#1d4a40; color:#e6f2ed; border:1px solid var(--line); border-radius:999px; padding:.35rem .8rem; font-size:.9rem; }
.intro { font-size:1.05rem; color:#dbe9e2; max-width:70ch; }
/* Cards on dark background: keep ticket cards light for readability, as in prototype lower sections */
.card, .ticket { background:var(--panel2); color:#1c2430; border:1px solid #e3ded2; border-radius:12px; padding:1rem 1.25rem; margin:1rem 0; }
.card a, .ticket a { color: var(--teal-dark); }
.ticket { display:flex; justify-content:space-between; gap:1rem; }
.price { font-size:1.4rem; font-weight:700; white-space:nowrap; }
.was { text-decoration: line-through; color:#888; font-weight:400; font-size:1rem; }
label { display:block; font-weight:600; margin:.7rem 0 .25rem; }
input, select, textarea { width:100%; padding:.6rem; border:1px solid #bbb; border-radius:8px; font:inherit; background:#fff; color:#1c2430; }
button, .btn { display:inline-block; background:var(--teal-dark); color:#fff !important; border:0; border-radius:8px; padding:.7rem 1.2rem; font:inherit; font-weight:700; cursor:pointer; text-decoration:none; }
button.secondary, .btn.secondary { background:#fff; color:var(--teal-dark) !important; border:1px solid var(--teal-dark); }
table { width:100%; border-collapse:collapse; background:#fff; color:#1c2430; }
th, td { text-align:left; padding:.5rem; border-bottom:1px solid #e7e2d6; vertical-align:top; }
.badge-name { font-size:1.15rem; font-weight:800; }
.soldout { color:#b00; font-weight:700; }
.grid { display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; }
@media (max-width:640px){ .grid{grid-template-columns:1fr;} .ticket{flex-direction:column;} }
small { color:#667; }
main > .card small, .ticket small { color:#667; }
