/* Bloom & Bean Café — weather page
   See DESIGN.md for the palette. */

:root {
  --ink: #2b2118;
  --paper: #f7f3ec;
  --accent: #b3562c;
  --card: #fffdf9;
  --muted: #6b5d4f;
  --line: #e2d8c9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

.masthead {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 720px;
  margin: 0 auto;
}

.brand-mark { font-size: 1.8rem; }

.brand-name {
  margin: 0;
  font-weight: bold;
  font-size: 1.15rem;
}

.brand-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

h1 { font-size: 1.75rem; margin: 0 0 1.25rem; }
h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }

.weather-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
}

.weather-state { color: var(--muted); }

.town {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: bold;
}

.conditions {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.icon { font-size: 2.5rem; }

.temp {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.1;
}

.summary { font-size: 1.25rem; margin: 0.5rem 0 0.25rem; }

.details { color: var(--muted); margin: 0; }

.cta {
  margin-top: 2rem;
  border-top: 2px solid var(--accent);
  padding-top: 1.25rem;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}

/* Keyboard visibility: keep the default outline, make it ours too */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  main { padding: 1.25rem 1rem 2rem; }
  .weather-card { padding: 1.25rem; }
  .temp { font-size: 2.4rem; }
}
