
:root {
  --text: #333333;
  --heading: #545454;
  --accent: #c32222;
  --link: #a01c1c;
  --link-hover: #6e1313;
  --panel: #eeeeee;
  --rule: #dddddd;
  --bg: #ffffff;
  --max: 52rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover, a:focus { color: var(--link-hover); }

/* Header */
.accent-bar { height: 15px; background: var(--accent); }

.site-header {
  background: var(--heading);
  color: #fff;
  padding: 2.5rem 0 2rem;
}
.site-slogan {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-name {
  margin: 0;
  font-family: Bitter, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
}

/* Under-construction notice */
.notice {
  margin: 2.5rem 0 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}
.notice .lead {
  margin: 0 0 0.35rem;
  font-family: Bitter, "Times New Roman", serif;
  font-size: 1.3rem;
  color: var(--heading);
  line-height: 1.4;
}
.notice .status { margin: 0; font-weight: 600; }

/* Link cards  */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem;
  background: var(--panel);
  border-bottom: 4px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}
.card:hover, .card:focus { background: #e2e2e2; color: var(--text); }
.card-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.card-title {
  font-family: Bitter, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
}
.card-url { font-size: 0.85rem; color: var(--link); }

/* Body content */
.content { padding-bottom: 3rem; }
.content h2, .content h3 {
  font-family: Bitter, "Times New Roman", serif;
  color: var(--heading);
  line-height: 1.3;
}
.content h2 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.content h3 { font-size: 1.15rem; margin: 1.75rem 0 0.4rem; }
.content p { margin: 0 0 1rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: #666;
}
.site-footer p { margin: 0; }
