/* GLAAM simple static site — large type, strong contrast, no framework */

:root {
  --brand-primary: #0076a8;
  --brand-primary-dark: #005f86;
  --brand-light: #e6f7ff;
  --brand-accent: #f7a800;
  --brand-accent-dark: #c98600;
  --text: #1a1a1a;
  --text-muted: #333333;
  --bg: #ffffff;
  --bg-subtle: #f4f6f8;
  --border: #c5ccd3;
  --focus: #003d5c;
  --max: 52rem;
  --max-wide: 64rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%; /* 18px base */
  scroll-behavior: auto;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: var(--focus);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 1000;
  background: var(--brand-accent);
  color: #000;
  padding: 0.75rem 1rem;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #000;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  background: var(--bg);
  border-bottom: 3px solid var(--brand-primary);
  padding: 0.75rem 1rem 1rem;
}

.site-header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.brand img {
  height: 3.25rem;
  width: auto;
}

.brand-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.brand-text small {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.layout {
  max-width: 84rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .layout {
    grid-template-columns: 20rem minmax(0, 1fr);
    gap: 2rem;
  }
}

.sidebar {
  font-family: Arial, Helvetica, sans-serif;
  border: 3px solid var(--brand-primary);
  background: var(--bg-subtle);
  padding: 1rem;
}

.sidebar h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  padding: 0 0 0.4rem;
  border-bottom: 2px solid var(--brand-primary);
  color: var(--brand-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar h2.section-break {
  margin-top: 1.25rem;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

@media (min-width: 34rem) and (max-width: 59.99rem) {
  .sidebar ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sidebar a {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

.sidebar a:hover,
.sidebar a:focus {
  background: var(--brand-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary-dark);
}

.sidebar a[aria-current="page"] {
  background: var(--brand-primary);
  border-color: var(--brand-primary-dark);
  color: #fff;
}

main {
  min-width: 0;
}

.narrow {
  max-width: var(--max);
}

h1,
h2,
h3,
h4 {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--border);
}

h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

p,
li {
  font-size: 1.05rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.hero {
  background: var(--brand-light);
  border: 2px solid var(--border);
  padding: 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.hero p:last-child {
  margin-bottom: 0;
}

.task-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .task-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.task-card {
  display: block;
  background: var(--bg);
  border: 3px solid var(--brand-primary);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  min-height: 8rem;
}

.task-card:hover,
.task-card:focus {
  background: var(--brand-light);
  color: var(--text);
}

.task-card strong {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: var(--brand-primary-dark);
  margin-bottom: 0.5rem;
  text-decoration: underline;
}

.btn,
.button-row a.btn {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 1.25rem;
  border: 3px solid var(--brand-primary-dark);
  background: var(--brand-primary);
  color: #fff;
  text-decoration: none;
  margin: 0.25rem 0.5rem 0.25rem 0;
}

.btn:hover,
.btn:focus {
  background: var(--brand-primary-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--bg);
  color: var(--brand-primary-dark);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--brand-light);
  color: var(--brand-primary-dark);
}

.btn-accent {
  background: var(--brand-accent);
  border-color: var(--brand-accent-dark);
  color: #000;
}

.btn-accent:hover,
.btn-accent:focus {
  background: #ffc44a;
  color: #000;
}

.button-row {
  margin: 1.25rem 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

@media (min-width: 40rem) {
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 2px solid var(--border);
  background: var(--bg);
  padding: 1rem 1.1rem;
}

.card.featured {
  border-color: var(--brand-primary);
  background: var(--brand-light);
}

.card.muted {
  opacity: 0.85;
  background: var(--bg-subtle);
}

.card .role {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.card .name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.note {
  background: #fff8e1;
  border: 2px solid var(--brand-accent);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}

.jump-nav {
  background: var(--bg-subtle);
  border: 2px solid var(--border);
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.5rem;
}

.jump-nav ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.jump-nav li {
  margin: 0.35rem 0;
}

.area-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

.photo-row {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (min-width: 40rem) {
  .photo-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-row img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border: 2px solid var(--border);
}

.stat-box {
  background: var(--brand-accent);
  color: #000;
  border: 2px solid var(--brand-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 1rem;
  min-height: 10rem;
}

.stat-box span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

details {
  border: 2px solid var(--border);
  background: var(--bg);
  margin: 0.75rem 0;
  padding: 0;
}

summary {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: var(--bg-subtle);
  list-style: revert;
}

details[open] > summary {
  border-bottom: 2px solid var(--border);
  background: var(--brand-light);
}

details > .details-body {
  padding: 1rem;
}

.year-badge {
  display: inline-block;
  background: var(--brand-accent);
  color: #000;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  margin-right: 0.5rem;
  border: 1px solid var(--brand-accent-dark);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 1rem;
}

.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--bg-subtle);
  font-family: Arial, Helvetica, sans-serif;
}

.prose .table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
}

.prose img {
  margin: 1rem 0;
  border: 2px solid var(--border);
  max-width: 20rem;
}

.prose img.float-right,
.prose img[class*="float-right"] {
  float: right;
  margin: 0 0 1rem 1rem;
  max-width: 10rem;
}

.prose::after {
  content: "";
  display: table;
  clear: both;
}

.ext::after {
  content: " (external site)";
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.archive-list li {
  margin: 0.75rem 0;
}

.archive-list a {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.9rem 1rem;
  border: 2px solid var(--border);
  background: var(--bg-subtle);
  text-decoration: none;
}

.archive-list a:hover,
.archive-list a:focus {
  background: var(--brand-light);
  border-color: var(--brand-primary);
}

.site-footer {
  background: #222;
  color: #eee;
  padding: 2rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.site-footer a {
  color: #ffe08a;
}

.site-footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .site-footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: 1.1rem;
  color: #fff;
  border-bottom: 1px solid #555;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
}

.site-footer ul {
  margin: 0;
  padding-left: 1.1rem;
}

.site-footer li {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.legal {
  max-width: var(--max-wide);
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #555;
  color: #bbb;
  font-size: 0.85rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 2px solid var(--border);
  margin: 0.75rem 0;
  background: var(--bg);
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0.75rem;
  top: 0.9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hof-tier {
  margin-top: 2.5rem;
}

.hof-member {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 2px solid var(--border);
  background: var(--bg);
}

.hof-member h3 {
  margin-top: 0;
}

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