.tab-bar {
  width: 69.6%;
  max-width: 1322px;
  margin: 0.75rem auto 0;
  display: flex;
  gap: 0.6rem;
}

.tab-bar-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.15s ease;
}

.tab-bar-item:hover {
  background: #fff;
}

.tab-bar-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.9);
  transform: scale(1.15);
  z-index: 0;
}

.tab-bar-item-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 62.5%;
  height: 62.5%;
  object-fit: contain;
  object-position: center;
}

.tab-icon-grid {
  display: none;
}

.tagline {
  width: 69.6%;
  max-width: 1322px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-shrink: 0;
}

.tagline-spacer {
  display: block;
  flex: 1;
}

.tagline-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: #0c0c0c;
  letter-spacing: -0.01em;
}

.tagline-title-line {
  white-space: nowrap;
}

.tagline-sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: #999;
}

@media (max-width: 1400px) {
  .tab-bar-item:nth-child(4) {
    display: none;
  }
}

@media (max-width: 900px) {
  .tab-bar-item:nth-child(3) {
    display: none;
  }
}

@media (max-width: 768px) {
  .tagline {
    width: 92%;
    flex-wrap: wrap;
    row-gap: 1.5rem;
  }

  .tagline-title {
    font-size: clamp(1.6rem, 11vw, 6rem);
  }

  .tab-bar {
    display: none;
  }

  .tab-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 92%;
    margin: 0.75rem auto 0;
  }

  .tab-icon-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #f3f3f3;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    overflow: hidden;
    padding: 1.2rem;
    transition: background 0.15s ease;
  }

  .tab-icon-item:hover {
    background: #fff;
  }

  .tab-icon-item-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (min-width: 769px) {
  .tagline {
    align-items: flex-start;
  }

  .tagline-sub {
    margin-top: 1.2rem;
  }
}
