html {
  color-scheme: light;
}

body {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.container {
  max-width: 760px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.site-header,
.site-footer {
  border-color: #111;
  border-style: solid;
  color: #111;
  padding: 1rem 0;
}

.site-header {
  border-width: 0 0 1px;
}

.site-footer {
  border-width: 1px 0 0;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.site-title {
  color: #111;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-main {
  padding-bottom: 5rem;
  padding-top: 3rem;
}

h1,
h2,
h3 {
  color: #8A9A5B;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 2.75rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: #111;
  text-decoration-color: #111;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #000;
  text-decoration-thickness: 2px;
}


.home-intro {
  padding-bottom: 4rem;
}

.home-copy {
  max-width: 38rem;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.section-links a,
.featured-project a {
  display: inline-block;
}

.section-links a:hover,
.featured-project a:hover {
  color: #000;
  text-decoration-thickness: 2px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.featured-projects {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 3rem;
  max-width: 32rem;
  text-align: center;
}

.featured-project {
  border: 1px solid #111;
  padding: 1.5rem;
}

.featured-project h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.featured-project p:last-of-type {
  margin-bottom: 1rem;
}

.blog-posts-section {
  border-top: 1px solid #111;
  padding-top: 3rem;
}

.blog-posts-heading {
  margin-bottom: 2rem;
}

.blog-posts-heading p:last-child {
  color: #555;
  margin-bottom: 0;
}

.blog-posts-list {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-posts-list li {
  margin: 0;
}

.blog-post-card {
  align-items: center;
  border-top: 1px solid #111;
  display: grid;
  font-size: 1.1rem;
  gap: 1.25rem;
  grid-template-columns: 9rem 1fr;
  padding-top: 1.25rem;
}

.blog-post-thumbnail {
  aspect-ratio: 12 / 5;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.blog-post-header {
  margin-bottom: 2.5rem;
}

.blog-post-hero {
  aspect-ratio: 40 / 21;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.music-link {
  align-items: center;
  border: 1px solid #111;
  display: inline-flex;
  gap: 0.65rem;
  margin-bottom: 2rem;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
}

.music-link:hover {
  background: #111;
  color: #fff;
}

.music-link-icon {
  fill: none;
  height: 1.35rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 1.35rem;
}

.apps-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin-top: 3rem;
}

.app-cell {
  border-top: 1px solid #111;
  padding-top: 1.25rem;
}

.app-cell h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.app-cell a {
  text-decoration: none;
}

.app-cell a:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.app-cell p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.app-thumbnail-link {
  border: 1px solid #111;
  display: block;
  margin-bottom: 1rem;
  max-width: 12rem;
  width: min(100%, 12rem);
}

.app-thumbnail {
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  width: 100%;
}

.exhibition-list {
  margin-top: 3rem;
}

.exhibition-item {
  border-top: 1px solid #111;
  padding: 2rem 0;
}

.exhibition-item h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.exhibition-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  margin-top: 1.75rem;
}

.exhibition-gallery {
  margin: 1.5rem 0 2.5rem;
}

.gallery-heading {
  border-bottom: 1px solid #111;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  padding-bottom: 0.35rem;
  text-transform: uppercase;
}

.horizontal-gallery {
  display: flex;
  gap: 1rem;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  overflow-x: auto;
  padding: 0 0.25rem 0.75rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.horizontal-gallery-item {
  flex: 0 0 clamp(9rem, 38vw, 12rem);
  scroll-snap-align: start;
}

.responsive-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin-top: 2rem;
}

.responsive-gallery-item {
  min-width: 0;
}

.gallery-img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.text-muted,
.text-body-secondary {
  color: #555 !important;
}

@media (max-width: 640px) {
  .site-main {
    padding-top: 2rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .featured-projects {
    grid-template-columns: 1fr;
  }

  .blog-post-card {
    align-items: start;
    grid-template-columns: 7rem 1fr;
  }

  .app-thumbnail-link {
    max-width: 10rem;
  }

  .responsive-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizontal-gallery-item {
    flex-basis: 9.5rem;
  }
}
