:root {
  --bg: #ffffff;
  --fg: #1f1f1f;
  --muted: #5f5f5f;
  --line: #dddddd;
  --blue: #007ecd;
  --pink: #d1285c;
  --title: #8a1450;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 Arial, Helvetica, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--pink); }

/* The bar along the top of every page. */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 8px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  font: 700 1.3rem "PT Sans", Arial, sans-serif;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 50%; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  font: 400 1rem "PT Sans", Arial, sans-serif;
}

.site-nav a { color: var(--fg); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--pink); }

.language { min-height: 28px; }

#language-button {
  padding: 3px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--fg);
  font: 400 0.95rem "PT Sans", Arial, sans-serif;
  cursor: pointer;
}

#language-button:hover { border-color: var(--pink); color: var(--pink); }

/* Google's picker expects its icons inline, unlike the images on these pages. */
#google_translate_element { white-space: nowrap; }
#google_translate_element img { display: inline; max-width: none; }
.goog-te-gadget-simple { border-radius: 4px; }

/* The big banners: the home page's gradient, and the dark one on inner pages. */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 40px 20px;
  background: linear-gradient(to bottom, var(--pink), var(--blue));
  color: #ffffff;
  text-align: center;
}

.hero h1 {
  margin: 0 0 16px;
  font: 400 clamp(3.5rem, 13vw, 6.5rem)/1.1 "Archivo Black", Arial, sans-serif;
}

.hero p {
  margin: 0;
  font: italic 400 1.4rem/1.4 Merriweather, Georgia, serif;
}

.banner {
  padding: 56px 20px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0 30%, transparent 30% 62%, rgba(209, 40, 92, 0.14) 62%),
    #3a2a38;
  color: #ffffff;
  text-align: center;
}

.banner h1 {
  margin: 0;
  font: 700 clamp(2.4rem, 9vw, 4.5rem)/1.1 "PT Sans", Arial, sans-serif;
  text-wrap: balance;
}

main { padding-block: 16px 24px; }

.band {
  max-width: 60rem;
  margin: 0 auto;
  padding: 40px 20px;
}

.narrow { max-width: 46rem; }

.centered { text-align: center; }

.section-title {
  margin: 0 0 20px;
  color: var(--title);
  font: 700 2rem/1.25 "PT Sans", Arial, sans-serif;
  text-wrap: balance;
}

.mission p {
  margin: 0 0 16px;
  font-style: italic;
}

/* The home page's features: artwork on the left, words on the right. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px 40px;
  align-items: center;
  padding-block: 28px;
}

.feature img { width: 100%; max-width: 240px; margin-inline: auto; }

.feature h2 {
  margin: 0 0 12px;
  font: 700 1.5rem/1.3 "PT Sans", Arial, sans-serif;
}

.feature p, .feature ul { margin: 0 0 12px; }

.feature li { margin-bottom: 4px; }

@media (max-width: 560px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
}

.closing { font: italic 400 1.1rem/1.6 Merriweather, Georgia, serif; }

/* Team. */
.team-photo { width: 100%; max-width: 562px; margin: 0 auto 32px; border-radius: 4px; }

.people {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 56px;
}

.people figure { margin: 0; text-align: center; }
.people img { width: 168px; border-radius: 4px; }
.people figcaption { margin-top: 8px; font-weight: 700; }

/* Text pages. */
.doc h2 {
  margin: 32px 0 8px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.doc p, .doc ul { margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc .date { color: var(--muted); }

.action {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 20px;
  color: var(--blue);
  font: 700 1rem "PT Sans", Arial, sans-serif;
  cursor: pointer;
}

.action.danger { background: var(--pink); border-color: var(--pink); color: #ffffff; }
.action:disabled { opacity: 0.5; cursor: default; }

.credits { padding-left: 1.2em; }
.credits a { white-space: nowrap; }

.site-footer {
  padding: 28px 20px 36px;
  color: var(--fg);
  font: 400 1rem Merriweather, Georgia, serif;
  text-align: center;
}
