/* BurgessCraft site styles */
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light dark;
  --bg: #d9d9d9; --panel: #f0f0f0; --text: #202020; --muted: #505050;
  --line: #a8a8a8; --accent: #292929; --accent-text: #fff; --focus: #d21f35;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #202124; --panel: #2c2d30; --text: #f1f1f1; --muted: #c2c2c2;
    --line: #55575b; --accent: #f1f1f1; --accent-text: #202124; --focus: #ff6b7d;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", "Trebuchet MS", sans-serif;
  font-size: 1rem; line-height: 1.55;
}
header, main { width: min(100% - 2rem, 48rem); margin-inline: auto; }
header { padding: 1.5rem 0 1rem; text-align: center; }
header h1 { margin: 0 0 .75rem; }
.logo img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  padding: 0; border: 0; background: transparent;
}
nav a { display: inline-block; margin: 0 .5rem; padding: 0; color: var(--text); text-underline-offset: .2em; }
nav a[aria-current="page"] { background: transparent; color: var(--text); font-weight: bold; text-decoration: none; }
main { padding: .25rem 0 2rem; }
section {
  background: var(--panel); border: 1px solid var(--line);
  padding: 1rem clamp(1rem, 4vw, 1.5rem); margin-bottom: 1rem; overflow-wrap: anywhere;
}
h2 { margin: 0 0 .75rem; font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.25; }
h3 { margin: 1.2rem 0 .35rem; font-size: 1.2rem; line-height: 1.3; }
p, li { max-width: 68ch; } p { margin-block: .7rem; } li { margin-block: .3rem; }
.muted { color: var(--muted); font-size: .95em; }
a { color: inherit; } a:hover { text-decoration-thickness: 3px; }
.address { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .75rem 0 1rem; }
.address code {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere;
  background: var(--bg); border: 1px solid var(--line); padding: .35rem .6rem;
  font-family: "Silkscreen", "Trebuchet MS", sans-serif; font-size: 1rem;
}
button, input, select, textarea { font: inherit; }
button, a.button {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  border: 1px solid var(--accent); padding: .45rem .85rem; cursor: pointer; text-decoration: none;
}
button:hover, a.button:hover { filter: brightness(.88); }
label { display: block; margin-top: .75rem; font-weight: 600; }
input, select, textarea {
  width: 100%; max-width: 24rem; padding: .5rem; border: 1px solid var(--line);
  background: var(--bg); color: var(--text);
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
summary { cursor: pointer; font-weight: 600; } details { margin-block: .5rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: .6rem; }
.gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.year-logo { display: block; width: 100%; max-width: 20rem; height: auto; margin: .5rem 0 1rem; }
.notice {
  margin: 1rem 0; padding: .85rem 1rem; border: 2px solid var(--line);
  border-left: .4rem solid var(--focus); background: var(--bg);
}
@media (max-width: 34rem) {
  body { font-size: 1rem; }
  header, main { width: min(100% - 1rem, 48rem); }
  header { padding-top: .75rem; } section { padding: 1rem; }
  .address { align-items: stretch; } .address button { width: 100%; }
}
