.home-community {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(80px, 9vw, 128px);
}

.home-community__media {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 0;
}

.home-community__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  filter: grayscale(1);
}

.home-community__playback,
.home-community__playback:hover,
.home-community__playback:active {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}

.home-community__playback[hidden] { display: none; }
.home-community__playback:focus-visible { outline: 1px solid #fff; outline-offset: -6px; }
.home-community__copy { min-width: 0; text-align: center; }

.home-community__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: clamp(12px, 1.5vw, 20px);
  max-width: 100%;
  min-height: 44px;
  padding: 12px 0;
  color: var(--text);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  transition: opacity .2s ease, transform .2s ease;
}

.home-community__label {
  min-width: 0;
  text-align: left;
}

.home-community__arrow {
  position: relative;
  display: block;
  flex: 0 0 clamp(26px, 2.8vw, 36px);
  width: clamp(26px, 2.8vw, 36px);
  height: 1em;
  align-self: flex-start;
  margin-top: .4em;
  color: var(--text);
  animation: community-arrow-drift 4.2s ease-in-out infinite;
}

.home-community__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 1px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.home-community__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

@keyframes community-arrow-drift {
  0%, 100% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
}

@media (max-width: 900px) {
  .home-community {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 80px;
  }
  .home-community__copy { justify-self: center; }
}

@media (hover: hover) and (pointer: fine) {
  .home-community__link:hover { opacity: .65; transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-community__link { transition: none; }
  .home-community__arrow { animation: none; }
}
