/* --------------------------------------------------------------------------
   farwell-arts.org
   One centred column on white. Hierarchy comes from case and space.
   Section labels are tracked-out mono; titles are italic; everything else
   sits quietly beneath them.
   -------------------------------------------------------------------------- */

:root {
  --paper: #ffffff;
  --ink:   #000000;
  --quiet: #6b6b6b;
  --accent: #365f5e;   /* the masthead teal, for links */

  --serif: "Newsreader", "Times New Roman", Times, serif;
  --mono:  "Courier Prime", ui-monospace, "SF Mono", Menlo, Courier, monospace;
}

* { box-sizing: border-box; }

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

body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell {
  max-width: 38rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

/* ---- masthead ------------------------------------------------------------ */

.mark {
  margin: 0 0 1.5rem;
  font-size: inherit;
  font-weight: 400;
}

/* the wordmark is drawn, not set */
.mark img {
  display: block;
  width: 16rem;
  max-width: 78%;
  height: auto;
  margin: 0 auto;
}

/* ---- navigation ---------------------------------------------------------- */

.nav {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 1.4rem 0 0;
}

.nav a {
  color: var(--quiet);
  text-decoration: none;
  margin: 0 0.85rem;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

/* ---- about --------------------------------------------------------------- */

.about {
  max-width: 26rem;
  margin: 5.5rem auto 0;
}

.about p { margin: 0 0 1.7rem; line-height: 1.65; }
.about p:last-child { margin-bottom: 0; }

/* ---- section labels ------------------------------------------------------ */

.label {
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 5.5rem 0 2.25rem;
}

/* ---- entries ------------------------------------------------------------- */

.event { margin: 0 0 2.75rem; }
.event:last-child { margin-bottom: 0; }

.event .title {
  display: block;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
}

.event .with,
.event .when {
  display: block;
  line-height: 1.55;
}

.event .when { color: var(--quiet); }

/* artist links: visible, but they must not outshout the names */
.event a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #cfcfcf;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.event a:hover { color: var(--accent); text-decoration-color: currentColor; }


/* ---- footer -------------------------------------------------------------- */

/* ---- the drawing, as the page's ground ----------------------------------- */

.ground {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 46rem;
  height: auto;
  margin-top: 6rem;
  opacity: 0.7;
}

@media (max-width: 44rem) {
  .ground { margin-top: 4.5rem; }
}

.colophon a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #cfcfcf;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.colophon a:hover { color: var(--accent); text-decoration-color: currentColor; }

/* the lamp closes the page, after the colophon rather than above it */
.colophon .device {
  display: block;
  width: 1.5rem;
  height: auto;
  margin: 1.9rem auto 0;
  opacity: 0.85;
}

.colophon {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-top: 3.25rem;
  line-height: 2.2;
}

/* ---- small screens ------------------------------------------------------- */

@media (max-width: 34rem) {
  .shell { padding: 3rem 1.25rem 4.5rem; }
  .label { margin: 4rem 0 2rem; }
  .event { margin-bottom: 2.5rem; }
  .event .title { font-size: 1.1875rem; }
}
