:root {
  --paper: #f1ebe0;
  --ink: #1a1612;
  --brick: #8a2e28;
  --river: #24343d;
  --rule: #c9bdae;
  --mute: #5c534a;
  --col: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PT Serif", "Times New Roman", serif;
  font-size: 18px;
  line-height: 28px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brick);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 40;
  padding: 6px 10px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-120%);
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--col), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
}

.strip {
  background: var(--river);
  color: var(--paper);
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 16px;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
}

.strip time {
  font-style: normal;
}

.langs {
  display: flex;
  gap: 0.85em;
}

.langs a {
  color: rgba(241, 235, 224, 0.55);
  text-decoration: none;
}

.langs a[aria-current="true"] {
  color: #e4b4af;
}

.langs a:hover {
  color: var(--paper);
}

.masthead {
  padding: 18px 0 4px;
  text-align: center;
}

.masthead a {
  color: inherit;
  text-decoration: none;
  font-size: 42px;
  line-height: 46px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.masthead a:hover {
  color: inherit;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.nav-toggle span:not(.visually-hidden) {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav {
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 20px;
  border-bottom: 1px solid var(--rule);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.35rem;
  margin: 0;
  padding: 10px 0 14px;
  list-style: none;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--brick);
  padding-bottom: 3px;
}

.nav a:hover {
  color: var(--brick);
}

main {
  padding: 28px 0 8px;
}

.figure {
  margin: 0 0 32px;
}

.figure img {
  width: 100%;
  border: 1px solid var(--rule);
}

.figure figcaption {
  margin-top: 8px;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: var(--mute);
}

.page-title {
  margin: 0 0 1.4rem;
  font-size: 32px;
  line-height: 38px;
  font-weight: 400;
}

.label {
  margin: 0 0 12px;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0 2.6rem;
  align-items: start;
}

.home-side {
  border-left: 1px solid var(--rule);
  padding-left: 2.4rem;
}

.item {
  margin: 0 0 1.6rem;
}

.item header {
  margin-bottom: 0.35rem;
}

.item .when {
  display: block;
  margin-bottom: 2px;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: var(--mute);
}

.item h2,
.item h3 {
  margin: 0;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.item p {
  margin: 0.45rem 0 0;
}

.item p + p {
  margin-top: 0.7rem;
}

.more {
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
}

.week .event + .event,
.events .event + .event {
  border-top: 1px solid var(--rule);
}

.event {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  gap: 0.15rem 1rem;
  margin: 0;
  padding: 0.85rem 0;
}

.event:first-of-type {
  padding-top: 0;
}

.event time,
.event .when {
  font-family: "PT Serif", "Times New Roman", serif;
  font-size: 14px;
  line-height: 22px;
  color: var(--mute);
}

.event h2,
.event h3 {
  margin: 0;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

.event p {
  margin: 0.15rem 0 0;
  grid-column: 2;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: var(--mute);
}

.hours {
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}

.hours p {
  margin: 0 0 0.85rem;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
}

.hours p:last-child {
  margin-bottom: 0;
}

.hours strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.news-list .item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.news-list .item:last-child {
  border-bottom: 0;
}

.place {
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
}

.place:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.place .figure {
  margin-bottom: 12px;
}

.place h2 {
  margin: 0 0 0.2rem;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.place .meta {
  margin: 0 0 0.7rem;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: var(--mute);
}

.place p {
  margin: 0.5rem 0 0;
}

.chapter {
  margin: 0 0 2rem;
}

.chapter h2 {
  margin: 0 0 0.55rem;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.chapter p {
  margin: 0.55rem 0 0;
}

.month {
  margin: 0 0 0.4rem;
}

.note {
  margin: 1.6rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--mute);
}

.sheet {
  margin: 0;
}

.sheet > div {
  padding: 0.95rem 0;
  border-top: 1px solid var(--rule);
}

.sheet > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.sheet h2 {
  margin: 0 0 0.35rem;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--mute);
}

.sheet p,
.sheet ul {
  margin: 0;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.sheet ul {
  padding: 0;
  list-style: none;
}

.sheet li + li {
  margin-top: 0.2rem;
}

.btn {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
  border-radius: 0;
}

.btn:hover {
  background: var(--river);
  color: var(--paper);
  border-color: var(--river);
}

.site-footer {
  margin-top: 56px;
  padding: 28px 0 32px;
  background: var(--river);
  color: var(--paper);
  font-family: "PT Sans", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 20px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.site-footer img {
  width: 28px;
  height: auto;
  flex: 0 0 auto;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer a {
  color: #e4b4af;
}

.site-footer a:hover {
  color: var(--paper);
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
    line-height: 27px;
  }

  .wrap {
    width: min(var(--col), calc(100% - 32px));
  }

  .masthead a {
    font-size: 30px;
    line-height: 34px;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-side {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 1.6rem;
  }

  .item h2,
  .item h3,
  .place h2,
  .chapter h2 {
    font-size: 23px;
    line-height: 29px;
  }

  .page-title {
    font-size: 28px;
    line-height: 34px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    border-bottom: 1px solid var(--rule);
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    display: block;
    padding: 8px 0 16px;
  }

  .nav li + li {
    margin-top: 10px;
  }

  .nav a {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .masthead {
    display: none;
  }
}

@media (max-width: 720px) {
  .strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    min-height: 44px;
  }

  .strip time {
    grid-column: 1 / -1;
    grid-row: 2;
    width: auto;
    padding-top: 2px;
    padding-bottom: 6px;
  }

  .brand-compact {
    display: block;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    color: var(--paper);
    text-decoration: none;
    font-family: "PT Serif", "Times New Roman", serif;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-compact:hover {
    color: var(--paper);
  }

  .strip-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 2;
    grid-row: 1;
  }

  .strip-tools .nav-toggle {
    order: -1;
  }

  .langs {
    gap: 0.65em;
  }
}

@media (min-width: 721px) {
  .brand-compact {
    display: none;
  }
}
