* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Masthead */

.masthead {
  padding: 2em;
}

/* Featured section */
.featured-section {
  background-color: #f5f5f5;
  padding: 2em;
}

.featured-content {
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row;
  gap: 0;
}

  .grid.gap {
    gap: 2em;
  }

.column {
  border-right: 1px solid #ddd;
}

.column:first-child {
  padding-left: 0;
}

.column:last-child {
  border-right: none;
}

.column h1 {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 1em;
  line-height: 1.3;
}

.content-section {
  padding: 2em;
}

/* Container sizing */
.vh {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vh-half {
  min-height: 50vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.vh-fixed {
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Content stretching */
.fill-height {
  flex: 1;
}

.fill-height > * {
  height: 100%;
}

/* Image containers */
.image-container {
  margin-bottom: 1em;
  background: #000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875em;
}

/* Typography */
.text-content {
  margin-bottom: 2em;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.text-xlarge {
  font-size: 13.32vw;
  line-height: 1em;
  margin-bottom: 0.5em;
}

.text-large {
  font-size: 6.67vw;
  line-height: 1em;
  margin-bottom: 0.5em;
}

.text-body {
  font-size: 3.33vw;
  line-height: 1.25em;
  margin-bottom: 0.5em;
}

.text-small {
  font-size: 1.665vw;
  line-height: 1.6;
  margin-bottom: 0.5em;
}

.text-xsmall {
  font-size: 0.8325vw;
  line-height: 1.6;
}

.text-pop {
  color: #0F62FE;
}

a {
  color: #0F62FE;
  text-decoration: none;
  border-bottom: 1px solid #0F62FE;
}

a:hover {
  color: #24A148;
  border-bottom-color: #24A148;
}

a:visited {
  text-decoration: none;
}

.text-dim {
  color: #D9D9D9;
}


@media (min-width: 769px) {
  .align-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
  }
}

.border-top {
  border-top: 1px solid #ddd;
}

.mobile-break {
  display: none;
}

/* Utility classes */
.text-wrapper {
  max-width: 35em;
}

.text-padded {
  padding-left: 2em;
  padding-right: 2em;
}

.one-word-per-line {
  word-spacing: 100vw;
}

/* Span classes */
.span-1 {
  grid-column: span 1;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.span-8 {
  grid-column: span 8;
}

/* Aspect ratio classes */
.ratio-3-4 {
  aspect-ratio: 3 / 4;
}

.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.ratio-5-7 {
  aspect-ratio: 5 / 7;
}

.full-height {
  min-height: 90vh;
}

/* 8-Bar Collage */

#collage {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

.logo-container {
  position: absolute;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
  }
  to {
    opacity: 1;
  }
}

.logo-container.transitioning {
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.logo-container.fade-out {
  animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .column {
    padding-left: 0;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .column:last-child {
    border-bottom: none;
  }

  .span-1,
  .span-2,
  .span-3,
  .span-4,
  .span-8 {
    grid-column: span 1;
  }

  .text-xlarge {
    font-size: 16vw;
  }

  .text-large {
    font-size: 8vw;
  }

  .text-body {
    font-size: 5vw;
  }

  .text-small {
    font-size: 4vw;
  }

  .text-xsmall {
    font-size: 3vw;
  }

  .mobile-break {
    display: block;
  }

  .vh-fixed {
    height: 50vh;
  }
}
