:root {
  --accent: #47D3E5;
  --text-subtle: #666;
  --text-muted: #999;
}

/* Header */
header {
  text-align: center;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

h1 {
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-family: "Work Sans", sans-serif;
  letter-spacing: 0.85px;
}

h2 {
  font-size: 1.5rem;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 1.75rem;
  letter-spacing: 1.5px;
}

h3 {
  font-size: 1.75rem;
}

body {
  margin: 10px;
}

.tiles {
  padding-bottom: 3rem;
}

.spotlight {
  margin-top: 0;
}

@media screen and (orientation: portrait) {
  li {
    text-align: left;
  }
}

/* Section headings */
.section-heading {
  text-align: center;
  padding: 3rem 2rem 1rem;
  margin: 0;
}

.tiles {
  box-shadow: none !important;
}

/* Apps */
.apps-section {
  text-align: center;
  padding: 3rem 2rem;
}

.apps-section h3 {
  margin-bottom: 2rem;
}

.app-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 0;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 0.75rem;
}

.app-item img {
  width: 200px;
  height: 200px;
  border-radius: 22%;
  object-fit: cover;
}

.app-item p {
  margin: 0;
  font-size: 0.85rem;
}

.app-item:hover {
  color: var(--accent);
}

.app-desc {
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--text-subtle);
  max-width: 130px;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.app-item:hover .app-desc {
  opacity: 1;
}

.apps-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: -1rem 0 2rem;
  font-style: italic;
}

/* Website tiles — no overlay, text below on hover */
.tiles article > .image:before,
.tiles article > .image:after {
  opacity: 0 !important;
  transition: none !important;
}

.tiles article {
  overflow: visible;
}

.tile-desc {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-align: center;
  padding: 0.5rem 0;
  margin: 0;
  line-height: 1.4;
}

.tiles article:hover .tile-desc {
  opacity: 1;
}

@media screen and (max-width: 736px) {
  header {
    margin-bottom: 0;
  }

  .apps-section {
    padding-top: 1.5rem;
  }

  h3 {
    font-size: 2.25rem;
  }

  .apps-note {
    font-size: 1rem;
  }

  .app-item p {
    font-size: 1rem;
  }

  .app-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .tiles article {
    margin-bottom: 2rem;
  }
}

@media (hover: none) {
  .app-desc,
  .tile-desc {
    display: none;
  }
}
