/* Pike Street Bait & Tackle — one page, phone first.
   Built for bright sun and a weak signal: big type, hard contrast, no images
   that are not needed. */

:root {
  --ink: #10211c;
  --ink-soft: #40554e;
  --paper: #fbf8f1;
  --card: #ffffff;
  --line: #d8d2c4;
  --deep: #0f3b35;
  --deep-ink: #f3faf7;
  --in: #0b6b3a;
  --in-bg: #e4f4ea;
  --low: #8a5300;
  --low-bg: #fdf0d9;
  --out: #6b6257;
  --out-bg: #efece5;
  --alert: #9a2c18;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 33, 28, 0.08), 0 4px 14px rgba(16, 33, 28, 0.06);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 0 3rem;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a { color: var(--deep); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }

/* ---------- header ---------- */

.masthead {
  background: var(--deep);
  color: var(--deep-ink);
  padding: 1.5rem 0 1.25rem;
}
.masthead h1 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.masthead .tagline {
  margin: 0.4rem 0 1rem;
  color: #bcd9d1;
  font-size: 1.05rem;
}
.call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--deep-ink);
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  min-height: 48px;
}
.call:active { transform: translateY(1px); }

/* ---------- open / closed ---------- */

.status {
  margin: -0.9rem 0 1.5rem;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
}
.status .headline {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
}
.status .detail {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.status[data-open="yes"] { border-color: var(--in); }
.status[data-open="yes"] .headline { color: var(--in); }
.status[data-open="no"] { border-color: var(--alert); }
.status[data-open="no"] .headline { color: var(--alert); }

/* ---------- sections ---------- */

section { margin: 0 0 2.25rem; }

h2 {
  font-size: 1.3rem;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}
.sub {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.note {
  background: var(--low-bg);
  border-left: 5px solid var(--low);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.note:empty { display: none; }

/* ---------- bait board ---------- */

.board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.board li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
}
.board .name { font-weight: 700; font-size: 1.1rem; }
.board .unit { font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
.board .price { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

.board li[data-state="in"] { border-color: var(--in); background: var(--in-bg); }
.board li[data-state="low"] { border-color: var(--low); background: var(--low-bg); }
.board li[data-state="out"] { background: var(--out-bg); color: var(--out); }
.board li[data-state="out"] .name { font-weight: 600; }

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.45rem;
  vertical-align: 0.1em;
}
.tag.low { background: var(--low); color: #fff; }
.tag.out { background: var(--out); color: #fff; }

.board-group { margin: 0 0 1.25rem; }
.board-group h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  margin: 1.25rem 0 0.5rem;
}

.stamp {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0.85rem 0 0;
}

/* ---------- hours ---------- */

.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; width: 45%; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr[data-today="yes"] { background: var(--in-bg); }
.hours tr[data-today="yes"] th,
.hours tr[data-today="yes"] td { font-weight: 800; color: var(--in); }

/* ---------- find us ---------- */

.find {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.find p { margin: 0 0 0.7rem; }
.find .address { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.2rem; }

.map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 0 1rem;
  background: #e8eee9;
}

.buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.btn {
  flex: 1 1 10rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  background: var(--deep);
  color: var(--deep-ink);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn.ghost { background: var(--card); color: var(--deep); border: 2px solid var(--deep); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
footer p { margin: 0 0 0.5rem; }

/* ---------- wider screens ---------- */

@media (min-width: 40rem) {
  body { font-size: 19px; }
  .masthead h1 { font-size: 2.4rem; }
  .board { grid-template-columns: 1fr 1fr; }
  .board-group .board { grid-template-columns: 1fr 1fr; }
}

/* ---------- dark ---------- */

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef4f1;
    --ink-soft: #a7b8b2;
    --paper: #0d1715;
    --card: #15211e;
    --line: #2b3b36;
    --deep: #0b2d29;
    --deep-ink: #eaf6f2;
    --in: #5fd08a;
    --in-bg: #12302220;
    --low: #f0b429;
    --low-bg: #3a2c0a40;
    --out: #8b968f;
    --out-bg: #1a2320;
    --alert: #ff8a73;
  }
  .call { background: #5fd08a; color: #06231a; }
  .btn { background: #5fd08a; color: #06231a; }
  .btn.ghost { background: transparent; color: #5fd08a; border-color: #5fd08a; }
  .tag.low { color: #241a00; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
