/* atmosphere — early-web / rave flyer aesthetic */

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 2rem 1rem 4rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
  background-color: #B8E2F2;
}

/* narrow centered column */
header,
nav,
main,
footer {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* wordmark */
.wordmark {
  margin: 0 0 1.5rem;
  text-align: center;
}

.wordmark img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* tilde nav row */
.tilde-nav {
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.tilde-nav a {
  color: #111;
  text-decoration: underline;
}

.tilde-nav a:hover {
  color: #550000;
}

/* sections */
section {
  margin-bottom: 2.5rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #888;
  padding-bottom: 0.25rem;
}

p {
  margin: 0 0 0.5rem;
}

a {
  color: #000066;
}

a:visited {
  color: #330033;
}

a:hover {
  color: #550000;
}

/* next event */
.event-date {
  font-size: 1.15rem;
  font-style: italic;
}

.event-tickets {
  margin-top: 0.75rem;
}

.event-calendar {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.event-flyer {
  margin-top: 1.5rem;
}

/* flyer placeholder */
.flyer-placeholder {
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  border: 2px solid #111;
  background: #e8e4dc;
  font-size: 1.25rem;
  font-style: italic;
  letter-spacing: 0.2em;
  text-align: center;
  color: #444;
}

.flyer {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 2px solid #111;
}

.placeholder-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
}

.production-credit {
  font-size: 0.85rem;
  color: #333;
}

/* mailing list (Buttondown) */
.list-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

.list-form input[type="email"] {
  display: block;
  width: 100%;
  max-width: 18rem;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: #111;
  background: #f4fafd;
  border: 1px solid #111;
  border-radius: 0;
}

.list-form input[type="email"]:focus {
  outline: 1px solid #000066;
  outline-offset: 0;
}

.list-submit {
  margin: 0.75rem 0 0;
}

.list-form button {
  padding: 0;
  font-family: inherit;
  font-size: 1rem;
  color: #000066;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

.list-form button:hover {
  color: #550000;
}

.list-form input[type="submit"] {
  padding: 0;
  font-family: inherit;
  font-size: 1rem;
  color: #000066;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

.list-form input[type="submit"]:hover {
  color: #550000;
}

.list-powered {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
}

.list-powered a {
  color: #555;
}

.list-powered a:hover {
  color: #550000;
}

.list-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #444;
}

/* footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #888;
  font-size: 0.85rem;
  text-align: center;
}

.footer-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #555;
}

/* splash (temporary landing page) */
body.splash {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #000;
}

.splash-page {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.splash-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.splash-tagline {
  margin: 1rem 0 0;
  font-size: 14pt;
  font-style: italic;
  color: #fff;
}

.splash-list-form {
  margin-top: 1.5rem;
  text-align: center;
}

body.splash .list-form label {
  color: #fff;
}

body.splash .list-form input[type="email"] {
  display: block;
  width: min(100%, 18rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: #111;
  color: #fff;
  border-color: #fff;
}

body.splash .list-form input[type="email"]:focus {
  outline-color: #fff;
}

body.splash .list-form input[type="submit"] {
  color: #fff;
}

body.splash .list-form input[type="submit"]:hover {
  color: #ccc;
}

.splash-list-note {
  text-align: center;
  color: #fff;
}
