:root {
  --sans-serif: "Helvetica", "Neue Haas Grotesk Text Pro", "Arial", sans-serif;
  --serif: "EB Garamond", serif;
}

body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-column-gap: 4rem;
  padding: 2rem 3rem;
  background-color: #f5f2ef;
  color: #111;
  font-family: var(--serif);
  font-size: 16px;
}

h1 {
  font-family: var(--sans-serif);
}

strong {
  font-weight: 600;
}

body > header {
  grid-column: span 12;
  display: grid;
  grid-template-columns: inherit;
  grid-column-gap: inherit;
}

body > header > a {
  grid-column: span 3;
}

body > header > nav {
  grid-column: span 9;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-family: "Helvetica", "Neue Haas Grotesk Text Pro", "Arial", sans-serif;
}

body > header > label {
  display: none;
}

body > header > input {
  display: none;
}

body > header > nav > label {
  display: none;
}

body > header > nav > a {
  color: #111;
  text-decoration: none;
  display: inline-block;
  margin-left: 3rem;
}

main {
  grid-column: span 12;
  display: grid;
  grid-template-columns: inherit;
  grid-column-gap: inherit;
  margin-top: 10rem;
}

article {
  grid-column: span 12;
  display: grid;
  grid-template-columns: inherit;
  grid-column-gap: inherit;
  font-size: 1.4rem;
}

article a {
  color: #e50246;
  text-decoration: none;
  border-bottom: 1px dotted;
  border-bottom-color: inherit;
}

article a:hover {
  border-bottom: 1px solid;
  border-bottom-color: inherit;
}

article > header {
  grid-column: span 12;
}

article > header > h1 {
  margin: 0;
  font-weight: normal;
  font-size: 2.4rem;
  color: #111;
}

article > header > h1 > a {
  text-decoration: none;
  border: 0;
  color: inherit;
}

article > header > h1 + p {
  margin: 0;
  font-style: italic;
}

article > header > img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

article > header > figure {
  margin: 2rem 0;
}

article > header > figure > img {
  width: 100%;
  height: auto;
}

article > header > figure > figcaption {
  font-size: 0.8rem;
  text-align: right;
}

article > header > figure > figcaption > a {
  border: 0;
}

article > header > a {
  border: 0;
}

article > header > a:hover {
  border: 0;
}

article > header > a > img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

article > div {
  grid-column: span 6;
  grid-row: span 2;
}

article > div > h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0;
}

article > div > h2 + p {
  margin: 0;
  font-style: italic;
}

article > div > h3 {
  margin-bottom: 0;
  font-size: inherit;
  font-weight: 600;
}

article > div > h3 + p.lead {
  margin-top: 0;
}

article > div > p > strong {
  font-weight: 600;
}

article > div > ul > li {
  margin-bottom: 1rem;
}

article > aside {
  grid-column: span 6;
  padding-top: 0.5rem;
  font-size: 1.12rem;
}

article > aside > p {
  width: 20em;
}

article > aside a {
  color: #e50246;
}

article > aside > img {
  width: 100%;
  height: auto;
}

article > aside > figure {
  margin: 0;
}

article > aside > figure > img {
  width: 100%;
  height: auto;
}

article > aside > figure > figcaption {
  font-size: 0.8rem;
  text-align: right;
}

article > aside > figure > figcaption > a {
  border: 0;
}

article > section {
  grid-column: span 6;
}

article > section > h2 {
  font-family: "Helvetica", "Neue Haas Grotesk Text Pro", "Arial", sans-serif;
  font-size: 1.4rem;
  font-weight: normal;
  margin-bottom: 1rem;
}

article > section > p {
  margin: 0;
}

article > footer {
  grid-column: span 6;
  align-self: end;
  justify-self: center;
}

article > div > a.button {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 1.2rem 1.6rem;
  border-radius: 6px;
  font-size: 1rem;
  font-family: Helvetica;
  color: #fff;
  background-color: #229;
  border-width: 0;
}

article > div > a.button:hover {
  background-color: #22c;
}

article > div > a.button.disabled {
  color: #666;
  background-color: #CCC;
}

article > div > a.button.disabled:hover {
  color: #666;
  background-color: #CCC;
  cursor: not-allowed;
}

small-caps {
  font-variant: small-caps;
}

div.end {
  align-self: end;
  justify-self: end;
}

article > aside > div.sponsors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 0;
  margin: 0;
  padding: 0;
}

article > aside > div.sponsors > figure {
  grid-column: span 1;
  display: block;
  margin: 0;
}

article > aside > div.sponsors > figure > img {
  max-width: 200px;
  max-height: 160px;
}

article > aside > div.sponsors > figure > figcaption {
  font-size: inherit;
  text-align: left;
  margin-left: 17px;
}

article#musicians + div {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: inherit;
  grid-row-gap: 1rem;
  margin-top: 2rem;
  font-size: 1.12rem;
}

article#musicians + div > section a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted;
  border-bottom-color: inherit;
}

article#musicians + div > section a:hover {
  color: inherit;
  border-bottom: 1px solid;
  border-bottom-color: inherit;
}

article#musicians + div > section > h2 {
  font-weight: normal;
  font-size: 1.12rem;
  font-variant: small-caps;
  color: #e50246;
}

div#instruments {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: inherit;
  grid-row-gap: 1rem;
  margin-top: 2rem;
  justify-items: left;
  font-size: 1.12rem;
}

div#profiles {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: inherit;
  grid-row-gap: 4rem;
  margin-top: 2rem;
}

div#profiles > div {
}

div#profiles > div > figure {
  margin: 0;
}

div#profiles > div > figure > img {
  width: 100%;
}

div#profiles > div > figure > figcaption {
  font-size: 1.12rem;
}

div#profiles > div > figure > figcaption::first-line {
  font-size: 1.4rem;
}

body > footer {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: inherit;
  grid-row-gap: 4rem;
  margin-top: 10rem;
  margin-bottom: 4rem;
  font-size: 1.12rem;
}

body > footer a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px dotted;
  border-bottom-color: inherit;
}

body > footer > div > p:first-child {
  border-bottom: 1px solid;
  border-bottom-color: inherit;
  font-variant: small-caps;
}

body > footer > div > p {
  margin: 0;
  padding: 0;
}

body > main > article > div > form[name="unsubscribe"] > input[type="text"] {
  box-sizing: border-box;
  margin: 1rem 0;
  padding: 1rem 0.5rem;
  height: 2rem;
  width: 60%;
  font-size: inherit;
  font-family: inherit;
  border-radius: 5px;
  border: 1px solid #ccc;
}

body > main > article > div > form[name="unsubscribe"] > input:placeholder-shown + button {
  display: none;
}

body > main > article > div > form[name="unsubscribe"] > input:not(:placeholder-shown) + button {
  font-variant: small-caps;
  box-sizing: border-box;
  padding: 0rem 0.3rem;
  width: 60%;
  font-size: inherit;
  font-family: inherit;
  background: #f55;
  background: #e50246;
  color: white;
  border-radius: 5px;
  border: 1px solid #ccc;
  border: 0;
}

body > footer > div > form > input {
  box-sizing: border-box;
  margin: 1rem 0;
  padding: 1rem 0.5rem;
  height: 2rem;
  width: 100%;
  font-size: inherit;
  font-family: inherit;
  border-radius: 5px;
  border: 1px solid #ccc;
}

body > footer > div > form > input:placeholder-shown + button {
  display: none;
}

body > footer > div > form > input:not(:placeholder-shown) + button {
  box-sizing: border-box;
  padding: 0.3rem 0.3rem;
  width: 100%;
  font-size: inherit;
  font-family: inherit;
  background: #f55;
  background: #e50246;
  color: white;
  border-radius: 5px;
  border: 1px solid #ccc;
  border: 0;
}

/* Replace menu for smaller screens */
@media screen and (max-width: 900px) {
  body > header > label {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 1.4rem;
  }

  body > header > nav > label {
    display: block;
    position: fixed;
    top: 18px;
    right: 23px;
    cursor: pointer;
    font-size: 1.2rem;
  }

  body > header > nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f5f2ef;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 2rem 1rem;
  }

  body > header > nav > a {
    display: block;
    margin: 1rem 0;
  }

  body > header > input:checked + nav {
    display: block;
  }
}

/* Widen the paragraphs for tablets */
@media screen and (max-width: 1300px) {
  article > div {
    grid-column: span 7;
  }

  article > aside {
    grid-column: span 5;
  }
}

/* Widen the paragraphs for tablets */
@media screen and (max-width: 1100px) {
  article > div {
    grid-column: span 8;
  }

  article > aside {
    grid-column: span 4;
  }
}

/* Mobile */
@media screen and (max-width: 800px) {
  body {
    display: block;
    padding: 0;
  }

  body > header {
    margin-top: 2rem;
    margin-left: 1rem;
  }

  main {
    display: block;
    margin-top: 4rem;
    padding: 1rem;
  }

  main > article {
    display: block;
    font-size: 1.2rem;
  }

  main > article > div {
    max-width: 500px;
  }

  main > article > header > img {
    display: block;
  }

  main > article > footer {
    text-align: center;
    margin-top: 2rem;
  }

  main > article#musicians + div {
    display: block;
  }

  main > article#musicians + div > section {
    margin-top: 3rem;
  }

  main > article#musicians + div > section > h2.redundant {
    display: none;
  }

  main > article#musicians + div > section:has(> h2.redundant) {
    margin-top: 0;
  }

  main > article#reservations > aside {
    display: none;
  }

  body > footer {
    display: block;
  }

  body > footer > div {
    margin-bottom: 3em;
  }
}
