:root {
  --header: #a0bef5;
  --header-deep: #8eaff0;
  --ink: #161616;
  --blue: #7090f8;
  --blue-edge: #182098;
  --paper: #fff;
  --text: #333333;
  --muted: #454545;
  --link: #337ab7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

a { color: var(--link); }

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

.site-header {
  background: var(--header);
  color: var(--ink);
  padding-bottom: 0.85rem;
}

.brand {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.85rem 1rem 0.15rem;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-button {
  display: none;
  width: fit-content;
  margin: 0.4rem auto 0.2rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  font-family: "Josefin Sans", Arial, sans-serif;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.15rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.35rem 1rem 0.2rem;
}

.site-nav > a,
.menu-group > a {
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 1rem;
  padding: 0.2rem 0;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.menu-group { position: relative; }

.submenu {
  display: none;
  position: absolute;
  z-index: 4;
  top: 100%;
  left: 0;
  min-width: 17rem;
  margin: 0;
  padding: 0.35rem 0;
  background: var(--header-deep);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.submenu a {
  display: block;
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Josefin Sans", Arial, sans-serif;
  padding: 0.4rem 0.9rem;
}

.submenu a:hover,
.site-nav > a:hover,
.menu-group > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.menu-group:hover .submenu,
.menu-group:focus-within .submenu { display: block; }

.hero {
  text-align: center;
  padding: 2.2rem 1rem 0.4rem;
}

.logo {
  width: 190px;
  height: auto;
  margin-bottom: 0.8rem;
}

.org-name,
.org-tag,
.prose h1,
.issue h2,
.welcome h1,
.archive-head h1 {
  font-family: "Josefin Sans", Arial, sans-serif;
  font-weight: 700;
  color: #7092ff;
}

.org-name,
.org-tag,
.issue h2 {
  letter-spacing: 0.06em;
}

.org-name {
  margin: 0.2rem auto 0.35rem;
  max-width: 22em;
  font-size: 48px;
  line-height: 1.25;
}

.org-tag {
  margin: 0 auto 1.2rem;
  max-width: 34em;
  font-size: 28px;
  line-height: 1.35;
}

.welcome {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.4rem 1.25rem 1.4rem;
  text-align: center;
}

.welcome h1 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: #111;
}

.welcome p {
  margin: 0.85rem auto;
  color: var(--muted);
  font-size: 1.12rem;
}

.issues {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.issue {
  margin: 0 0 2.4rem;
  text-align: center;
}

.issue h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.issue img {
  display: block;
  width: min(920px, 100%);
  margin: 0.55rem auto;
  background: #fff;
}

.pdf-link {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.45rem 0.85rem;
  background: var(--blue);
  color: #0d1230;
  font-weight: 700;
  text-decoration: none;
}

.pdf-link:hover { background: #8aa6ff; }

.more {
  text-align: center;
  padding: 0.4rem 1rem 3.2rem;
  font-size: 1.2rem;
}

.prose,
.archive-head {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3rem;
}

.prose h1,
.archive-head h1 {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0.2rem 0 1rem;
}

.prose h2 {
  font-family: "Josefin Sans", Arial, sans-serif;
  color: var(--ink);
  font-size: 1.35rem;
  margin: 1.6rem 0 0.4rem;
}

.prose p,
.prose li { color: var(--text); }

.prose ul { padding-left: 1.2rem; }

.page-image {
  display: block;
  width: min(820px, 100%);
  margin: 1rem auto;
  background: #fff;
}

.page-image.portrait { width: min(280px, 70%); }

.year-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.year-list a {
  display: block;
  min-width: 7rem;
  padding: 0.8rem 1rem;
  text-align: center;
  text-decoration: none;
  color: #0d1230;
  background: var(--blue);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.year-list a:hover { background: #8aa6ff; }

.back-link { text-align: center; }

@media (max-width: 720px) {
  .nav-button { display: block; }

  .site-nav { display: none; }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.6rem;
  }

  .site-nav > a,
  .menu-group > a {
    display: block;
    padding: 0.55rem 1rem;
    text-align: center;
  }

  .submenu {
    display: block;
    position: static;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.3rem;
    text-align: center;
  }

  .submenu a { text-align: center; }
}
