/* Homepage-only styles. Linked from index.html only, so the other pages and style.css are untouched. */
body.home {
  --ink: #111;
  --paper: #fff;
  --navy: #0e2841;
  --teal: #4fc0af;
  --teal-dark: #2f9a8a;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
}
.home .wrap { max-width: 1000px; padding: 2rem 1.25rem 4rem; }

.home .masthead {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  color: inherit;
  text-decoration: none;
}
.home .masthead img { width: 150px; height: auto; display: block; }
.home .masthead .title { text-align: center; }
.home .masthead h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}
.home .masthead p { margin: .35rem 0 0; font-size: clamp(1.1rem, 2.6vw, 1.5rem); line-height: 1.4; }

.home .tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.home .tabs li { flex: 1 1 auto; display: flex; }
.home .tabs a {
  flex: 1;
  background: var(--teal);
  color: var(--navy);
  padding: .3rem 1rem;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  white-space: nowrap;
}
.home .tabs a:hover, .home .tabs a:focus-visible { background: var(--teal-dark); color: #fff; }
.home .tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.home :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.home .hero { display: block; width: 100%; height: auto; margin-top: 6px; }

@media (max-width: 640px) {
  .home .masthead { grid-template-columns: 90px 1fr; }
  .home .masthead img { width: 90px; }
  .home .tabs li { flex: 1 1 45%; }
}
