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

html { -webkit-text-size-adjust: 100%; }

:root {
  /* the masthead type scale; the logo height is derived from it */
  --title: clamp(1.45rem, 6.4vw, 3.3rem);
}

body {
  margin: 0;
  padding-top: 44px;
  background: #ffffff;
  color: #000000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.band {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 44px;
  background-image: url("assets/band.webp");
  background-repeat: repeat-x;
  background-size: 150px 44px;
  background-color: #c9892a;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.page {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.8rem 1.2rem 3rem;
}

.mh {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  margin: 0 0 2rem;
}

.mh > .id {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  gap: 1rem;
}
.mh .id > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.logo {
  /* title line + gap + subtitle line */
  height: calc(var(--title) * 1.02 + .25rem + 1.55rem);
  width: auto;
  flex: none;
}

h1 {
  font-size: var(--title);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 .25rem;
}

.sub {
  margin: 0;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.facts {
  margin: 0 0 0 2rem;
  width: 15.5rem;
  flex: none;
  text-align: right;
  font-size: .88rem;
  line-height: 1.45;
}

h1 a { color: #000000; text-decoration: none; }
h1 a:visited { color: #000000; }

.pt {
  font-size: 1.45rem;
  margin: 0 0 .9rem;
}

h3 {
  font-size: 1.05rem;
  margin: 1.8rem 0 .5rem;
}

p, ul, table { margin: 0 0 1rem; }

/* the page is wide enough for the menu; prose stays readable */
.page p,
.news,
.dates,
.page ul:not(.pc):not(.folk) { max-width: 54rem; }

ul { padding-left: 1.3rem; }
li { margin-bottom: .2rem; }

a { color: #0b4ea2; }
a:visited { color: #0b4ea2; }

.menu-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.menu-scrim { display: none; }

.menu-btn {
  display: none;
  border: 1px solid #bbbbbb;
  padding: .4rem .75rem;
  margin: 0 0 1rem;
  cursor: pointer;
  font-size: .9rem;
}
.menu-toggle:focus-visible + .menu-btn { outline: 2px solid #c9892a; outline-offset: 2px; }

.menuwrap { grid-column: 1 / -1; }

.nav {
  margin-left: -.5rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: .25rem;
  margin: 0 0 1.8rem;
  padding-top: .7rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid #c9892a;
  font-size: .9rem;
}
.nav a, .nav b {
  display: inline-grid;
  padding: .35rem .5rem .4rem;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  font-weight: normal;
}
.nav a > span, .nav b > span { grid-area: 1 / 1; }
/* hidden bold copy reserves the bold width, so nothing shifts */
.nav a::after, .nav b::after {
  content: attr(data-t);
  grid-area: 1 / 1;
  font-weight: bold;
  visibility: hidden;
  height: 0;
}
.nav a:visited { color: #000000; }
.nav a:hover { background: #f1f1f1; }
.nav b {
  background: #e7e7e7;
}
.nav b > span { font-weight: bold; }

/* previous editions dropdown */
.nd { position: relative; }
.nd summary {
  padding: .35rem .5rem .4rem;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
}
.nd summary::-webkit-details-marker { display: none; }
.nd summary::after { content: " \25BE"; }
.nd[open] summary::after { content: " \25B4"; }
.nd summary:hover, .nd[open] summary { background: #f1f1f1; }
.nd > div {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-top: 2px solid #c9892a;
}
.nd > div a { display: block; padding: .4rem .7rem; }

h1 { margin-top: 0; }

table { border-collapse: collapse; width: 100%; }
td {
  vertical-align: top;
  padding: .3rem .8rem .3rem 0;
}

.news {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}
.news li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 1.2rem;
  padding: .45rem 0 .55rem;
  border-bottom: 1px solid #dddddd;
}
.news .d { color: #555555; }

.dates td { border-bottom: 1px solid #dddddd; padding: .4rem .8rem .4rem 0; }
.tba { color: #555555; }

.people .n { width: 16rem; }

.folk {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 1.5rem 1.4rem;
}
.folk li { display: flex; flex-direction: column; }
.folk img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border: 1px solid #dddddd;
  margin-bottom: .45rem;
  background: #efefef;
}
.folk .n { font-weight: bold; font-size: .95rem; line-height: 1.3; }
.folk .a { font-size: .85rem; color: #555555; line-height: 1.35; margin-top: .1rem; }
.folk .e {
  font-size: .78rem;
  margin-top: .25rem;
  overflow-wrap: break-word;
}
.people .e { font-size: .85rem; }

.pc {
  columns: 2;
  column-gap: 2rem;
  font-size: .92rem;
  padding-left: 1.2rem;
}
.pc li { break-inside: avoid; }

.note { font-size: .9rem; color: #555555; }



hr {
  border: 0;
  border-top: 1px solid #dddddd;
  margin: 2.5rem 0 1rem;
}

.foot { font-size: .88rem; color: #555555; }

@media (max-width: 994px) {
  .mh {
    position: relative;
    align-items: flex-start;
    row-gap: .5rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid #c9892a;
  }
  .mh > .id { min-width: 0; }

  .menu-btn {
    display: inline-block;
    margin: .1rem 0 0 1rem;
    padding: .35rem .6rem;
  }
  .menuwrap { position: static; }
  .nav {
    display: none;
    position: absolute;
    top: 2.7rem;
    right: 0;
    left: auto;
    width: min(14.5rem, 100%);
    z-index: 20;
    flex-direction: column;
    column-gap: 0;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #333333;
    border-top: 3px solid #c9892a;
    font-size: .92rem;
  }
  .menu-toggle:checked ~ .menu-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 15;
    background: transparent;
    cursor: default;
  }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav a, .nav b {
    margin: 0;
    padding: .42rem .8rem;
    border: 0;
    border-bottom: 1px solid #e8e8e8;
  }
  .nav a:last-child, .nav b:last-child { border-bottom: 0; }
  .nd summary { padding: .42rem .8rem; }
  .nd > div { position: static; border: 0; border-top: 1px solid #e8e8e8; }
  .nd > div a { padding-left: 1.6rem; }
  .nav a:hover { background: #f2f2f2; }
  .nav b {
    font-weight: bold;
    background: #f7f7f7;
    box-shadow: inset 3px 0 0 #c9892a;
  }
}

@media (max-width: 700px) {
  .mh { display: block; }
  .mh > .id { padding-right: 5.2rem; }
  .facts { width: 100%; margin: .5rem 0 0; }
  .menu-btn {
    position: absolute;
    top: .1rem;
    right: 0;
    margin: 0;
  }
}

@media (max-width: 620px) {
  .news li { grid-template-columns: 1fr; gap: .1rem; }

  .mh { align-items: flex-start; }

  .facts { text-align: left; }

  .pc { columns: 1; }
  .people .n, .news .d { width: auto; }
  table, tbody, tr, td { display: block; width: 100%; }
  .people tr { margin-bottom: .7rem; }
  .dates td { border-bottom: none; padding-bottom: 0; }
  .dates tr { border-bottom: 1px solid #dddddd; padding: .35rem 0; }
}
