:root { --max: 900px; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px;
}

/* ======================
   Hero header
   ====================== */

.site-header.hero {
  position: relative;
  background-image: url("/images/header.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-bottom: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.65)
  );
}

.hero-content {
  position: relative;
  padding-top: 36px;
  padding-bottom: 28px;
}

/* Branding on hero */

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 2.8rem;
  line-height: 1.15;
}

.brand-title a {
  text-decoration: none;
  color: #fff;
}

.brand-subtitle {
  font-size: 1.4rem;
  line-height: 1.2;
  color: rgba(255,255,255,0.85);
}

/* ======================
   Navigation
   ====================== */

.nav {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  color: #fff;
}

.nav a:hover {
  border-color: rgba(255,255,255,0.75);
}

/* Active page */
.nav a.active,
.nav a[aria-current="page"] {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.nav a.active:hover {
  background: rgba(255,255,255,0.25);
}

/* ======================
   Page headings & lists
   ====================== */

h1 {
  font-size: 18px;
  margin: 18px 0 10px;
  color: #111;
}

.list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.item:last-child {
  border-bottom: none;
}

.item-title {
  font-weight: 650;
}

.meta {
  color: #333;
}

.blurb {
  color: #444;
  margin-top: 4px;
}

/* ======================
   Notices
   ====================== */

.notice {
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fafafa;
}

.notice.error {
  border-color: #f0c0c0;
  background: #fff7f7;
}

/* ======================
   Forms
   ====================== */

form {
  max-width: 680px;
}

label {
  display: block;
  font-weight: 650;
  margin-top: 12px;
}

input[type="text"],
input[type="url"],
input[type="date"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

textarea {
  min-height: 90px;
}

button {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

button:hover {
  border-color: #bbb;
}

.cf-turnstile {
  margin-top: 14px;
}


/* ======================
   Footer
   ====================== */

.site-footer {
  border-top: 1px solid #eee;
  margin-top: 28px;
  padding: 12px 0;
  color: #555;
}

/* ======================
   Mobile scaling
   ================
